[Opensrf-commits] r1672 - trunk/src/javascript (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 5 22:32:14 EST 2009


Author: erickson
Date: 2009-03-05 22:32:13 -0500 (Thu, 05 Mar 2009)
New Revision: 1672

Modified:
   trunk/src/javascript/opensrf.js
Log:
IE mad.  IE throw tantrum.  Bill give IE a Baby Ruth

Modified: trunk/src/javascript/opensrf.js
===================================================================
--- trunk/src/javascript/opensrf.js	2009-03-06 02:31:45 UTC (rev 1671)
+++ trunk/src/javascript/opensrf.js	2009-03-06 03:32:13 UTC (rev 1672)
@@ -54,7 +54,7 @@
     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 @@
 
     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 @@
     this.send(
         new osrfMessage({
             'threadTrace' : this.reqid, 
-            'type' : OSRF_MESSAGE_TYPE_DISCONNECT,
+            'type' : OSRF_MESSAGE_TYPE_DISCONNECT
         })
     );
     this.remote_id = null;



More information about the opensrf-commits mailing list