Added 1.7 backward compatibility for onResponse

This commit is contained in:
mostafah%oeone.com 2004-06-09 14:57:59 +00:00
parent 19b21bb2b3
commit 091f41e422

View File

@ -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) {