From: erickson Date: Fri, 6 Mar 2009 03:32:13 +0000 (+0000) Subject: IE mad. IE throw tantrum. Bill give IE a Baby Ruth X-Git-Tag: osrf_rel_2_0_1~394 X-Git-Url: https://git.evergreen-ils.org/?p=OpenSRF.git;a=commitdiff_plain;h=66c86ce5d6c5b43bebb54ba606a9cc3e771cea79 IE mad. IE throw tantrum. Bill give IE a Baby Ruth git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1672 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/javascript/opensrf.js b/src/javascript/opensrf.js index ecdfe09..b543de8 100644 --- a/src/javascript/opensrf.js +++ b/src/javascript/opensrf.js @@ -54,7 +54,7 @@ OpenSRF.set_subclass = function(cls, pcls) { var str = cls+'.prototype = new '+pcls+'();'; str += cls+'.prototype.constructor = '+cls+';'; str += cls+'.baseClass = '+pcls+'.prototype.constructor;'; - str += cls+'.prototype.super = '+pcls+'.prototype;'; + str += cls+'.prototype["super"] = '+pcls+'.prototype;'; eval(str); } @@ -123,7 +123,7 @@ OpenSRF.ClientSession.prototype.connect = function(args) { message = new osrfMessage({ 'threadTrace' : this.reqid, - 'type' : OSRF_MESSAGE_TYPE_CONNECT, + 'type' : OSRF_MESSAGE_TYPE_CONNECT }); this.send(message, {'timeout' : this.timeout}); @@ -137,7 +137,7 @@ OpenSRF.ClientSession.prototype.disconnect = function(args) { this.send( new osrfMessage({ 'threadTrace' : this.reqid, - 'type' : OSRF_MESSAGE_TYPE_DISCONNECT, + 'type' : OSRF_MESSAGE_TYPE_DISCONNECT }) ); this.remote_id = null;