You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gm...@apache.org on 2007/02/28 13:47:06 UTC

svn commit: r512735 - /myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/widget/InputSuggestAjax.js

Author: gmuellan
Date: Wed Feb 28 04:47:04 2007
New Revision: 512735

URL: http://svn.apache.org/viewvc?view=rev&rev=512735
Log:
applied patch https://issues.apache.org/jira/browse/TOMAHAWK-910

Modified:
    myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/widget/InputSuggestAjax.js

Modified: myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/widget/InputSuggestAjax.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/widget/InputSuggestAjax.js?view=diff&rev=512735&r1=512734&r2=512735
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/widget/InputSuggestAjax.js (original)
+++ myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/dojoextensions/resource/widget/InputSuggestAjax.js Wed Feb 28 04:47:04 2007
@@ -35,7 +35,9 @@
         setAllValues: function(a, b) {
             //Super...
             dojo.widget.ComboBox.prototype.setAllValues.call(this, a, b);
-            this.textInputNode.onchange();
+            if (this.textInputNode.onchange) {
+                this.textInputNode.onchange();
+            }
         }
     }
 );