You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2011/11/08 14:05:36 UTC

svn commit: r1199224 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js

Author: werpu
Date: Tue Nov  8 13:05:35 2011
New Revision: 1199224

URL: http://svn.apache.org/viewvc?rev=1199224&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3390
fix for this issue


Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js?rev=1199224&r1=1199223&r2=1199224&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js Tue Nov  8 13:05:35 2011
@@ -464,7 +464,7 @@ _MF_SINGLTN(_PFX_CORE+"Impl", _MF_OBJECT
         /*now we serve the queue as well*/
         this._errListeners.broadcastEvent(eventData);
 
-        if (jsf.getProjectStage() === "Development" && this._errListeners.length() == 0) {
+        if (jsf.getProjectStage() === "Development" && this._errListeners.length() == 0 && !context["onerror"]) {
             var defaultErrorOutput = myfaces._impl.core._Runtime.getGlobalConfig("defaultErrorOutput", alert),
                 finalMessage = [],
                 //we remap the function to achieve a better compressability