From 861f91975df3aff14e6ca179744cc7ec8c36d0c8 Mon Sep 17 00:00:00 2001 From: vitalets <noginsk@rambler.ru> Date: Fri, 7 Dec 2012 13:40:43 +0400 Subject: [PATCH] do not show sourceError as element text --- CHANGELOG.txt | 5 +++++ src/inputs/list.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 131c27b..3989c57 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,11 @@ X-editable changelog ============================= +Version 1.2.1 wip +---------------------------- +[enh] select: do not show 'sourceError' in element during autotext execution (vitalets) + + Version 1.2.0 Dec 6, 2012 ---------------------------- [enh #36] 'submit' method: added 'ajaxOptions' property to modify ajax request (vitalets) diff --git a/src/inputs/list.js b/src/inputs/list.js index 7af00b0..211adaa 100644 --- a/src/inputs/list.js +++ b/src/inputs/list.js @@ -45,7 +45,7 @@ List - abstract class for inputs that have source option loaded from js array or } deferred.resolve(); }, function () { - List.superclass.value2html(this.options.sourceError, element); + //do nothing with element deferred.resolve(); });