[open-ils-commits] r10971 - branches/rel_1_4/Open-ILS/web/js/dojo/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 29 12:31:13 EDT 2008


Author: erickson
Date: 2008-10-29 12:31:10 -0400 (Wed, 29 Oct 2008)
New Revision: 10971

Modified:
   branches/rel_1_4/Open-ILS/web/js/dojo/openils/User.js
Log:
added workstation arg to login method

Modified: branches/rel_1_4/Open-ILS/web/js/dojo/openils/User.js
===================================================================
--- branches/rel_1_4/Open-ILS/web/js/dojo/openils/User.js	2008-10-29 16:30:33 UTC (rev 10970)
+++ branches/rel_1_4/Open-ILS/web/js/dojo/openils/User.js	2008-10-29 16:31:10 UTC (rev 10971)
@@ -14,6 +14,7 @@
  * ---------------------------------------------------------------------------
  */
 
+
 if(!dojo._hasResource["openils.User"]) {
 
     dojo._hasResource["openils.User"] = true;
@@ -31,6 +32,7 @@
         location : null,
         authtoken : null,
         authtime : null,
+        workstation : null,
     
         constructor : function ( kwargs ) {
             kwargs = kwargs || {};
@@ -112,6 +114,7 @@
                     password : hex_md5(seed + hex_md5(args.passwd)), 
                     type : args.type,
                     org : args.location,
+                    workstation : args.workstation
                 };
     
                 var authReq = OpenSRF.CachedClientSession('open-ils.auth').request('open-ils.auth.authenticate.complete', loginInfo);
@@ -151,6 +154,7 @@
                 password : hex_md5(seed + hex_md5(args.passwd)), 
                 type : args.type,
                 org : args.location,
+                workstation : args.workstation,
             };
 
             var data = fieldmapper.standardRequest(
@@ -255,7 +259,7 @@
 		        hookupStore(_u.permOrgStoreCache[perm]);
 	        else
                 _u.getPermOrgList(perm, buildTreePicker);
-        }
+        },
     });
 
 	openils.User.user = null;



More information about the open-ils-commits mailing list