summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-12-02 19:25:32 +0100
committerFabio Bas <ctrlaltca@gmail.com>2013-12-02 19:25:32 +0100
commitad722581e515ac72591ad64ab2a2c03f78e35ed4 (patch)
tree84708b954d9f01c6b4455f36a4f6dd3a666142d0 /framework/Web/Javascripts/source
parenta4e70ee8fd4105ae3a87349ba3fa69d90bdb54f6 (diff)
Small fix for autocomplete
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js4
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());
});
}