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 2010/06/24 21:11:44 UTC

svn commit: r957687 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js

Author: werpu
Date: Thu Jun 24 19:11:43 2010
New Revision: 957687

URL: http://svn.apache.org/viewvc?rev=957687&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2772

reverting the console fallback it causes an ecmascript error in htmlunit, while ie8 relies on a local console object being present, sorry, better no debug console output for ie8 instead of having a failed html unit

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

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js?rev=957687&r1=957686&r2=957687&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js Thu Jun 24 19:11:43 2010
@@ -74,7 +74,9 @@ myfaces._impl.core._Runtime.singletonDel
     _log: function(logType /*+arguments*/, args) {
 
         var argsString = this.objToArray(arguments[1]).join(" ");
-        var c = window.console || console;
+        var c = window.console;
+        
+
         if (c && c[logType]) {
             c[logType](argsString);
             if(this.stackTraceLevels[logType] && c.trace) {