pass the session to the test URLs
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 16 Dec 2005 20:07:51 +0000 (20:07 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 16 Dec 2005 20:07:51 +0000 (20:07 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2423 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/main/menu.js

index 38dda01..9e925d8 100644 (file)
@@ -92,13 +92,13 @@ main.menu.prototype = {
                        'cmd_test_html' : [
                                ['command','keypress'],
                                function() {
-                                       obj.set_tab(urls.test_html,{},{});
+                                       obj.set_tab(urls.test_html + '?session='+obj.w.escape(session),{},{});
                                }
                        ],
                        'cmd_test_xul' : [
                                ['command','keypress'],
                                function() {
-                                       obj.set_tab(urls.test_xul,{},{});
+                                       obj.set_tab(urls.test_xul + '?session='+obj.w.escape(session),{},{});
                                }
                        ],
                        'cmd_console' : [