Author: hermanns
Date: Sat Jun 14 05:48:21 2008
New Revision: 667794

URL: http://svn.apache.org/viewvc?rev=667794&view=rev
Log:
WW-2536 Autocompleted element don't publish topics when it changed
o applied patch by Stanislav Malishevskiy

Modified:
    
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js?rev=667794&r1=667793&r2=667794&view=diff
==============================================================================
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js
 Sat Jun 14 05:48:21 2008
@@ -495,7 +495,8 @@
                        return false;
                }
        }
-       this.selectedResult = [tgt.getAttribute("resultName"), 
tgt.getAttribute("resultValue")];
+    this.textInputNode.value="";
+    this.selectedResult = [tgt.getAttribute("resultName"), 
tgt.getAttribute("resultValue")];
        this.setAllValues(tgt.getAttribute("resultName"), 
tgt.getAttribute("resultValue"));
        if (!evt.noHide) {
                this._hideResultList();


Reply via email to