[Opensrf-commits] r2020 - branches/rel_1_6/src/javascript (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 1 13:35:50 EDT 2010


Author: erickson
Date: 2010-09-01 13:35:46 -0400 (Wed, 01 Sep 2010)
New Revision: 2020

Modified:
   branches/rel_1_6/src/javascript/opensrf.js
Log:
added support for reading ContinueStatus opensrf messages in the JS opensrf lib

Modified: branches/rel_1_6/src/javascript/opensrf.js
===================================================================
--- branches/rel_1_6/src/javascript/opensrf.js	2010-09-01 17:34:56 UTC (rev 2019)
+++ branches/rel_1_6/src/javascript/opensrf.js	2010-09-01 17:35:46 UTC (rev 2020)
@@ -438,5 +438,18 @@
         this.hash.statusCode = d; 
     return this.hash.statusCode; 
 }
+function osrfContinueStatus(hash) { 
+    this.hash = hash;
+    this._encodehash = true;
+}
+osrfContinueStatus.prototype.status = function() {
+    if(arguments.length == 1) 
+        this.hash.status = d; 
+    return this.hash.status; 
+}
+osrfContinueStatus.prototype.statusCode = function() {
+    if(arguments.length == 1) 
+        this.hash.statusCode = d; 
+    return this.hash.statusCode; 
+}
 
-



More information about the opensrf-commits mailing list