style operator change
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Jul 2006 15:20:22 +0000 (15:20 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Jul 2006 15:20:22 +0000 (15:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4950 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/util/network.js
Open-ILS/xul/staff_client/chrome/skin/global.css

index c22367d..3ec3578 100644 (file)
@@ -374,6 +374,7 @@ main.menu.prototype = {
                                                        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();
@@ -382,6 +383,7 @@ main.menu.prototype = {
                                                                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) {
index ea848c5..8e65d6a 100644 (file)
@@ -171,8 +171,8 @@ util.network.prototype = {
                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'
                );
index 6b8c1e8..6e084c4 100644 (file)
@@ -12,6 +12,8 @@ iframe { background: #CDCED3 url("chrome://browser/skin/icons/box-background.png
 .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; }