set the tab labels
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jun 2005 13:09:18 +0000 (13:09 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jun 2005 13:09:18 +0000 (13:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@965 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js

index 1383702..41b7c6d 100644 (file)
@@ -145,6 +145,7 @@ function replace_tab( d, tabbox, label, chrome, params ) {
                
                delete_tab_contents(panels.childNodes[ idx ]);
                tabs.childNodes[ idx ].hidden = false;
+               tabs.childNodes[ idx].setAttribute('label',label + ' ' + (idx+1));
 
                var frame = d.createElement('iframe');
                frame.setAttribute('id','frame_'+idx);