1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    49
    Vote Rating
    0
    Joche is on a distinguished road

      0  

    Default Stop Debug Console & inspector from popping up?

    Stop Debug Console & inspector from popping up?


    In IE or when firebug is disabled in firefox the "Ext Debug Console & Inspector" shows up instead. I guess this is greater than getting an error message, but it would be very handy if I could disable this in both browsers in some way.

  2. #2
    Sencha - Community Support Team JeffHowden's Avatar
    Join Date
    Mar 2007
    Location
    Forest Grove, OR
    Posts
    1,038
    Vote Rating
    1
    JeffHowden is on a distinguished road

      0  

    Default


    Use ext-all.js instead of ext-all-debug.js.
    Jeff Howden
    Ext JS - Support Team Volunteer
    jeff@extjs.com

    Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise.

    Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    49
    Vote Rating
    0
    Joche is on a distinguished road

      0  

    Default


    Quote Originally Posted by JeffHowden
    Use ext-all.js instead of ext-all-debug.js.
    Hehe, I gave that a quick try before posting but it didn't work. It was probably cached. Thanks!

    Anyway, now I get the dreaded console is undefined error in IE , do you know a good solution on that problem aswell?

  4. #4
    Sencha - Community Support Team JeffHowden's Avatar
    Join Date
    Mar 2007
    Location
    Forest Grove, OR
    Posts
    1,038
    Vote Rating
    1
    JeffHowden is on a distinguished road

      0  

    Default


    Remove or comment out calls to console.log() in your code?
    Jeff Howden
    Ext JS - Support Team Volunteer
    jeff@extjs.com

    Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise.

    Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me.

  5. #5
    Ext User
    Join Date
    Apr 2007
    Posts
    1
    Vote Rating
    0
    qxo is on a distinguished road

      0  

    Default


    The most important feature is the "DOM Inspector" and CSS and DOM attribute editing. In any browser where "console" is not already defined, the Ext console will handle console.log(), time() and other calls. -- from Ext Document Center

    So before Ext script define a "console" can disalbed "Ext Debug Console & DOM Inspector".
    As bellow:

    window.console = function(){
    //alert(this);

    };

Similar Threads

  1. How-to: using Firebug to debug your script
    By BernardChhun in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 3 Oct 2007, 10:57 AM
  2. Javascript Console Shows CSS Problems
    By cklester in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 23 Mar 2007, 11:58 AM
  3. Editing ext-debug?
    By franklt69 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 19 Mar 2007, 6:56 PM
  4. Unclosed string literal on ext-all-debug.js file
    By Skeleton in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 19 Feb 2007, 8:38 PM
  5. Popping a BasicDialog when Grid double click
    By hady in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 29 Nov 2006, 11:33 AM

Thread Participants: 2