mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Added 1.7 backward compatibility for onResponse
This commit is contained in:
parent
19b21bb2b3
commit
091f41e422
@ -667,7 +667,8 @@ calendarManager.prototype.getRemoteCalendarText = function calMan_getRemoteCalen
|
||||
window.setCursor( "default" );
|
||||
|
||||
var retval = false;
|
||||
result = String.fromCharCode.apply(this, result);
|
||||
if( typeof( result ) != "string" ) //for 1.7 compatibility
|
||||
result = String.fromCharCode.apply(this, result);
|
||||
|
||||
var ch = Channel.QueryInterface(Components.interfaces.nsIHttpChannel);
|
||||
if (!ch.requestSucceeded) {
|
||||
|
Loading…
Reference in New Issue
Block a user