Changeset 9540
- Timestamp:
- 05/08/08 17:31:28 (1 week ago)
- Location:
- branches/acq-experiment
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
Open-ILS/web/js/dojo/openils/User.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/acq-experiment
- Property svnmerge-integrated changed from /trunk:1-9535 to /trunk:1-9539
-
branches/acq-experiment/Open-ILS/web/js/dojo/openils/User.js
r9536 r9540 42 42 this.login_type = kwargs.login_type; 43 43 this.location = kwargs.location; 44 this.authcookie = kwargs.authcookie || openils.User.authcookie; 44 45 45 46 if (this.authtoken) this.getBySession(); … … 116 117 if (!openils.User.authtime) openils.User.authtime = _u.authtime; 117 118 _u.getBySession(onComplete); 119 if(_u.authcookie) { 120 dojo.require('dojo.cookie'); 121 dojo.cookie(_u.authcookie, _u.authtoken); 122 } 118 123 } 119 124 authReq.send(); … … 152 157 _u.authtime = data.payload.authtime; 153 158 if (!openils.User.authtime) openils.User.authtime = _u.authtime; 159 160 if(_u.authcookie) { 161 dojo.require('dojo.cookie'); 162 dojo.cookie(_u.authcookie, _u.authtoken); 163 } 154 164 }, 155 165 … … 242 252 openils.User.authtoken = null; 243 253 openils.User.authtime = null; 244 254 openils.User.authcookie = null; 245 255 } 246 256
