parameter passing experiment
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jun 2005 22:25:49 +0000 (22:25 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jun 2005 22:25:49 +0000 (22:25 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@986 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul
Evergreen/staff_client/chrome/content/evergreen/main/clam_shell.js

index ac3a521..358c39f 100644 (file)
@@ -68,7 +68,7 @@
                        'main_tabbox',
                        'chrome://evergreen/content/main/clam_shell.xul',
                        'test',
-                       {}
+                       { 'vertical' : true }
                ); "/>
 
        <command id="cmd_broken" oncommand="
index e69de29..6fa9a0a 100644 (file)
@@ -0,0 +1,9 @@
+sdump('D_TRACE','Loading clam_shell.js\n');
+
+function clam_shell_init(p) {
+       dump("TESTING: clam_shell.js: " + mw.G['main_test_variable'] + '\n');
+       if (d.params && d.params.vertical) {
+               p.d.setAttribute('orient','verticle');
+       }
+}
+