Hi Folks,

I was having a problem with some code that was failing to evaluate
except when running under Firebug-Lite 1.3.1. The failure raised no
Firefox error console warnings (Firefox 3.6.17).

I found this thread (no, I am not using Drupal, I am using prototype):
http://drupal.org/node/529296

Based on that thread, I commented out all my calls to console.log(),
all of which were in debug blocks like this:

    if (DEBUG == true) {
       console.log(request.responseText);
    }

After commenting out all the console.log() calls like this:

    if (DEBUG == true) {
       //console.log(request.responseText);
    }

The formerly non-running code worked fine.

The call that failed was this:

 <body  onLoad="getOldReportDCCNumbers('2010');">

 function getOldReportDCCNumbers(year) {
    var url = "/cgi-bin/docdb-mou-fetch.pl";
    new Ajax.Request(url, {
       parameters: { year: year, acronym: GROUP_ACRONYM },
       onComplete: function(req) {
          getOldReportDCCNumbersCallback(req.responseText,year);
       }
    });
 }

All other code ran fine with the console.log() calls in place. Very
weird!!

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to