myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckor...@apache.org
Subject svn commit: r512481 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
Date Tue, 27 Feb 2007 23:16:38 GMT
Author: ckormos
Date: Tue Feb 27 15:16:37 2007
New Revision: 512481

URL: http://svn.apache.org/viewvc?view=rev&rev=512481
Log:
Patch applied for TOMAHAWK-909 (PPRPanelGroup ignores return value of false from custom onClick)
thanks to Ernst Fastl.

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=512481&r1=512480&r2=512481
==============================================================================
--- 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
Tue Feb 27 15:16:37 2007
@@ -347,7 +347,8 @@
 {
     if(this.onclick_orig.type != "undefined")
     {
-        this.onclick_orig();
+        if(this.onclick_orig() == false)
+		return false;
     }
     return this.myFacesPPRCtrl.ajaxSubmitFunction(this);
 }



Mime
View raw message