} catch(E) {
var err_msg = "!! This software has encountered an error. Please tell your friendly " +
- "system administrator or software developer the following:\n" + E + '\n';
+ "system administrator or software developer the following:\npatron/holds.xul\n" + E + '\n';
try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
alert(err_msg);
}
<commandset id="holds_cmds">
<command id="cmd_holds_print" />
- <command id="cmd_holds_reprint" />
+ <command id="cmd_holds_cancel" />
+ <command id="cmd_show_catalog" />
</commandset>
<box id="holds_main" />
</box>
<vbox id="cmvb1" flex="1">
- <groupbox id="cmgb1" flex="2">
+ <groupbox id="cmgb1" flex="1" orient="vertical">
<caption label="&staff.patron_navbar.holds;" />
- <hbox id="holds_top_ui" />
+ <vbox flex="0">
+ <hbox id="holds_top_ui" />
+ </vbox>
<tree id="holds_list" flex="1" enableColumnDrag="true"/>
- <hbox id="holds_bottom_ui" />
+ <vbox flex="0">
+ <hbox id="holds_bottom_ui" />
+ </vbox>
</groupbox>
</vbox>
-<hbox id="holds_bottom_ui">
+<hbox id="holds_top_ui" flex="1">
+ <spacer flex="1"/>
+ <button id="catalog"
+ label="Show in Catalog"
+ command="cmd_show_catalog"
+ />
+ <button id="holds_cancel"
+ label="Cancel"
+ command="cmd_holds_cancel"
+ />
<button id="holds_print"
- label="&staff.patron_display.holds.print_receipt_label;"
+ label="Print"
command="cmd_holds_print"
- accesskey="&staff.patron_display.holds.print_receipt_label.accesskey;"/>
- <spacer id="pcii3s" flex="1"/>
+ accesskey="P"
+ />
</hbox>
</overlay>