You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2006/03/09 22:50:29 UTC

svn commit: r384626 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/inputsuggestajax/resource/tableSuggest.js

Author: mmarinschek
Date: Thu Mar  9 13:50:21 2006
New Revision: 384626

URL: http://svn.apache.org/viewcvs?rev=384626&view=rev
Log:
added onchange() call

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/inputsuggestajax/resource/tableSuggest.js

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/inputsuggestajax/resource/tableSuggest.js
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/inputsuggestajax/resource/tableSuggest.js?rev=384626&r1=384625&r2=384626&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/inputsuggestajax/resource/tableSuggest.js (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/inputsuggestajax/resource/tableSuggest.js Thu Mar  9 13:50:21 2006
@@ -42,8 +42,10 @@
 
                     if (elemToPutValue)
                     {
-                        if(dojo.dom.getTagName(elemToPutValue) == "input")
+                        if(dojo.dom.getTagName(elemToPutValue) == "input") {
                             elemToPutValue.value = spanElem.innerHTML;
+                            elemToPutValue.onChange();
+                        }
                         else if (dojo.dom.getTagName(elemToPutValue) == "select")
                         {
                             for (i = 0; i < elemToPutValue.options.length; i++)