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

svn commit: r512481 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js

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);
 }