From: erickson Date: Wed, 29 Oct 2008 16:31:10 +0000 (+0000) Subject: added workstation arg to login method X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9b19e88d3ff7cf6a7bdb4e1df5bc681404a014f0;p=Evergreen.git added workstation arg to login method git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@10971 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/User.js b/Open-ILS/web/js/dojo/openils/User.js index 0b09011d1f..ae0d1e1ff8 100644 --- a/Open-ILS/web/js/dojo/openils/User.js +++ b/Open-ILS/web/js/dojo/openils/User.js @@ -14,6 +14,7 @@ * --------------------------------------------------------------------------- */ + if(!dojo._hasResource["openils.User"]) { dojo._hasResource["openils.User"] = true; @@ -31,6 +32,7 @@ if(!dojo._hasResource["openils.User"]) { location : null, authtoken : null, authtime : null, + workstation : null, constructor : function ( kwargs ) { kwargs = kwargs || {}; @@ -112,6 +114,7 @@ if(!dojo._hasResource["openils.User"]) { 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 @@ if(!dojo._hasResource["openils.User"]) { 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 @@ if(!dojo._hasResource["openils.User"]) { hookupStore(_u.permOrgStoreCache[perm]); else _u.getPermOrgList(perm, buildTreePicker); - } + }, }); openils.User.user = null;