You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/01/08 11:34:34 UTC

[jira] [Created] (WICKET-5806) Wicket.Log should log (at least errors) in the browser console even when Wicket Ajax Debug window is disabled

Martin Grigorov created WICKET-5806:
---------------------------------------

             Summary: Wicket.Log should log (at least errors) in the browser console even when Wicket Ajax Debug window is disabled
                 Key: WICKET-5806
                 URL: https://issues.apache.org/jira/browse/WICKET-5806
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.18.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
            Priority: Minor


When org.apache.wicket.settings.IDebugSettings#setAjaxDebugModeEnabled(false)wicket-ajax.js won't log any errors to the browser console because of the check at:
https://github.com/apache/wicket/blob/8a3bd97825647301833751e906f441577e3fb3a5/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L231

I think errors should be logged to the browser console if there is a window.console object no matter what is the value of the setting.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)