go back to using cmd_print code; we'll fix it in browser.js if at all
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 May 2010 17:48:33 +0000 (17:48 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 May 2010 17:48:33 +0000 (17:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16419 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul

index 119bdd4..31a3f1a 100644 (file)
             <button id="forward" command="cmd_forward" disabled="true" hidden="true"/>
             <spacer flex="1"/>
             <label id="debug" value="Debug" disabled="true" command="cmd_debug" onclick="this.doCommand();" />
-            <button id="browser_print"
-                label="&common.browser.print.label;" 
-                accesskey="&common.browser.print.accesskey;" 
-                hidden="true"
-                oldcommand="cmd_print"
-                oncommand="netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); if (g.browser.alt_print) { JSAN.use('util.print'); var p = new util.print(); p.NSPrint(g.browser.get_content(),false,{}); } else { g.browser.get_content().print(); }"
-            />
+            <button id="browser_print" command="cmd_print" hidden="true"/>
         </hbox>
         <browser id="browser_browser" flex="1" type="content"/>
     </vbox>