From d39f4d3b8ac58c0dcec43494676dce3b975d608d Mon Sep 17 00:00:00 2001 From: vitalets <noginsk@rambler.ru> Date: Wed, 6 Mar 2013 20:57:43 +0400 Subject: [PATCH] fix #99 --- CHANGELOG.txt | 1 + src/editable-form/editable-form-utils.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 6e86c9b..3996703 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,7 @@ X-editable changelog Version 1.4.2 wip ---------------------------- +[bug #99] select2 with Hierarchical Data (kev360) [bug #81] wysihtml5: fix inserting image (vitalets) [bug] remove $.browser from wysihtml5 input to support jQuery 1.9 (vitalets) [bug #142] editable poshytip jquery 1.9+ compatibility (spiderpug) diff --git a/src/editable-form/editable-form-utils.js b/src/editable-form/editable-form-utils.js index 2fc0044..89cff18 100644 --- a/src/editable-form/editable-form-utils.js +++ b/src/editable-form/editable-form-utils.js @@ -145,7 +145,7 @@ $.each(sourceData, function(i, o) { if(o.children) { - result = result.concat(that.itemsByValue(value, o.children)); + result = result.concat(that.itemsByValue(value, o.children, valueProp)); } else { /*jslint eqeq: true*/ if(isValArray) {