myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r549694 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
Date Fri, 22 Jun 2007 03:33:15 GMT
Author: mmarinschek
Date: Thu Jun 21 20:33:14 2007
New Revision: 549694

URL: http://svn.apache.org/viewvc?view=rev&rev=549694
Log:
TOMAHAWK-1028: enable inputs submitting a ppr-panelgroup - iin a data-table as well; make
sure inputs also work in IE

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

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js?view=diff&rev=549694&r1=549693&r2=549694
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
Thu Jun 21 20:33:14 2007
@@ -375,7 +375,7 @@
         this._addOnClickHandler(formElement);
     }
     else if(this._isText(formElement) || this._isDropdown(formElement)) {
-        this._addOnChangeHandler(formElement);
+        this._addOnBlurHandler(formElement);
     }
 }
 
@@ -415,12 +415,12 @@
 
 }
 
-org.apache.myfaces.PPRCtrl.prototype._addOnChangeHandler = function (formElement) {
+org.apache.myfaces.PPRCtrl.prototype._addOnBlurHandler = function (formElement) {
 
     if(typeof formElement.oam_onevent_orig == "undefined")
     {
-        formElement.oam_onevent_orig = formElement.onchange;
-        formElement.onchange = this.elementOnEventHandler;
+        formElement.oam_onevent_orig = formElement.onblur;
+        formElement.onblur = this.elementOnEventHandler;
         formElement.myFacesPPRCtrl=this;
     }
 



Mime
View raw message