]> git.evergreen-ils.org Git - Evergreen.git/blob - Evergreen/staff_client/chrome/content/evergreen/main/clam_shell.js
parameter passing works. Let clam_shell default to a left pane and a right pane
[Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / main / clam_shell.js
1 sdump('D_TRACE','Loading clam_shell.js\n');
2
3 function clam_shell_init(p) {
4         dump("TESTING: clam_shell.js: " + mw.G['main_test_variable'] + '\n');
5         if (p) {
6                 if (p.horizontal) {
7                         get_widget(p.d,'ClamShell_main').orient = 'horizontal';
8                 } else if (p.vertical) {
9                         get_widget(p.d,'ClamShell_main').orient = 'vertical';
10                 }
11         }
12 }
13