network.simple_request('AUTH_DELETE', [ obj.data.session.key ] );
obj.data.session = obj.data.previous_session;
obj.data.stash('session');
+ removeCSSClass(document.getElementById('main_tabbox'),'operator_change');
} else {
if (network.get_new_session('Change Login',{'url_prefix':obj.url_prefix})) {
obj.data.stash_retrieve();
obj.data.previous_session = JSON2js( temp_ses );
obj.data.stash('previous_session');
x.setAttribute('label', 'Change Operator: ' + obj.data.list.au[1].usrname() );
+ addCSSClass(document.getElementById('main_tabbox'),'operator_change');
}
}
} catch(E) {
window.open(
url
+ '?login_type=staff'
- + '&desc_brief=' + window.escape('Your session has expired')
- + '&desc_full=' + window.escape('Please re-login. If after you have re-authenticated, you still see session expired dialogs like this one, please note where they are occuring and inform your friendly Evergreen developers of this debug information: ' + name),
+ + '&desc_brief=' + window.escape('Operator Change')
+ + '&desc_full=' + window.escape('Please enter the credentials for the new login session. Note that the previous session is still active.'),
'simple_auth' + (new Date()).toString(),
'chrome,resizable,modal,width=700,height=500'
);
.my_bg { background: #CDCED3 url("chrome://browser/skin/icons/box-background.png") repeat-x bottom !important; }
*/
+.operator_change { background-color: red; }
+
.shrinkable_groupbox { font-weight: bold; -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#caption'); }
.my_overflow { overflow: auto; }