don't need filter console anymore. Convert other tools to new framework
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / evergreen / util / shell.html
index ca5a215..88c1185 100644 (file)
@@ -679,7 +679,7 @@ form { margin: 0; padding: 0; }
 </style>
 </head>
 
-<body onload="params.w = window; params.app = 'Shell'; mw.OpenILS_init(params); init();" onunload="mw.OpenILS_exit(params);">
+<body onload="try { init(); } catch(E) { dump(E+'\n'); alert(E); }"> 
 
  <div id="output"><h3>JavaScript Shell 1.3.1</h3><div>Features: autocompletion of property names with Tab, multiline input with Shift+Enter, input history with (Ctrl+) Up/Down, <a accesskey=M href="javascript:go('scope(Math); mathHelp();');">Math</a>, <a accesskey=H href="http://www.squarefree.com/shell/?ignoreReferrerFrom=shell1.3.1">help</a></div><div>Values and functions: ans, print(string), <a accesskey=P href="javascript:go('props(ans)')">props(object)</a>, <a accesskey=B href="javascript:go('blink(ans)')">blink(node)</a>, load(scriptURL), scope(object), cls()</div></div>