diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-12-02 19:25:32 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-12-02 19:25:32 +0100 |
commit | ad722581e515ac72591ad64ab2a2c03f78e35ed4 (patch) | |
tree | 84708b954d9f01c6b4455f36a4f6dd3a666142d0 | |
parent | a4e70ee8fd4105ae3a87349ba3fa69d90bdb54f6 (diff) |
Small fix for autocomplete
-rw-r--r-- | framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js b/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js index 9ca158c8..71c9d73c 100644 --- a/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js +++ b/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js @@ -154,11 +154,11 @@ Prado.WebUI.TJuiAutoComplete = jQuery.klass(Prado.WebUI.TActiveTextBox, if(that.options.textCssClass===undefined) { jQuery.each(result, function(idx, item) { - result[idx]['value']=jQuery.trim(item['label']); + result[idx]['value']=jQuery.trim(jQuery(item['label']).text()); }); } else { jQuery.each(result, function(idx, item) { - result[idx]['value']=jQuery.trim(jQuery(item['label']).find('.'+that.options.textCssClass).html()); + result[idx]['value']=jQuery.trim(jQuery(item['label']).find('.'+that.options.textCssClass).text()); }); } |