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:06:22 UTC
svn commit: r1199227 -
/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
Author: werpu
Date: Tue Nov 8 13:06:22 2011
New Revision: 1199227
URL: http://svn.apache.org/viewvc?rev=1199227&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3390
fix for this issue
Modified:
myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js?rev=1199227&r1=1199226&r2=1199227&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js Tue Nov 8 13:06:22 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