clear remote id on connec as well
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Dec 2008 18:51:14 +0000 (18:51 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Dec 2008 18:51:14 +0000 (18:51 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1537 9efc2488-bf62-4759-914b-345cdb29e865

src/javascript/opensrf.js

index 315c080..ecdfe09 100644 (file)
@@ -112,6 +112,7 @@ OpenSRF.set_subclass('OpenSRF.ClientSession', 'OpenSRF.Session');
 
 OpenSRF.ClientSession.prototype.connect = function(args) {
     args = (args) ? args : {};
+    this.remote_id = null;
 
     if(args.onconnect)
         this.onconnect = args.onconnect;