summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-02-23 19:42:43 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-02-23 19:42:43 +0100
commitaa421438bc13914f6ef63ca9d79499e64be9a176 (patch)
treee9fc3147e8037a0d5d3dc149b7530297ef2072bf /framework/Web
parentdaab2398096654284e22eb41bee24f878537ef87 (diff)
TJuiAutoComplete: better handling of the TextCssClass Option on complex ItemTemplates
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js2
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());
});
}