diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-02-23 19:42:43 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-02-23 19:42:43 +0100 |
commit | aa421438bc13914f6ef63ca9d79499e64be9a176 (patch) | |
tree | e9fc3147e8037a0d5d3dc149b7530297ef2072bf /framework/Web/Javascripts | |
parent | daab2398096654284e22eb41bee24f878537ef87 (diff) |
TJuiAutoComplete: better handling of the TextCssClass Option on complex ItemTemplates
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r-- | framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js b/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js index a244b236..02f33a69 100644 --- a/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js +++ b/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js @@ -178,7 +178,7 @@ Prado.WebUI.TJuiAutoComplete = jQuery.klass(Prado.WebUI.TActiveTextBox, }); } else { jQuery.each(result, function(idx, item) { - result[idx]['value']=jQuery.trim(jQuery(item['label']).find('.'+that.options.textCssClass).text()); + result[idx]['value']=jQuery.trim(jQuery('<div/>').html(item['label']).find('.'+that.options.textCssClass).text()); }); } |