[Opensrf-commits] r2019 - trunk/src/javascript (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 1 13:35:00 EDT 2010
Author: erickson
Date: 2010-09-01 13:34:56 -0400 (Wed, 01 Sep 2010)
New Revision: 2019
Modified:
trunk/src/javascript/opensrf.js
Log:
added support for reading ContinueStatus opensrf messages in the JS opensrf lib
Modified: trunk/src/javascript/opensrf.js
===================================================================
--- trunk/src/javascript/opensrf.js 2010-09-01 13:56:12 UTC (rev 2018)
+++ trunk/src/javascript/opensrf.js 2010-09-01 17:34:56 UTC (rev 2019)
@@ -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