Print Labels checkbox for volume/copy creator
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Jun 2006 05:09:28 +0000 (05:09 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Jun 2006 05:09:28 +0000 (05:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4779 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul

index 4ce2eec..034fe4c 100644 (file)
@@ -387,7 +387,7 @@ g.stash_and_close = function() {
                                        default: g.error.standard_unexpected_error_alert('volume tree update',r); break;
                                }
                        } else {
-                               if (copies.length > 0) {
+                               if (copies.length > 0 && $('print_labels').checked) {
                                        JSAN.use('util.functional');
                                        var w = win.open(
                                                urls.XUL_SPINE_LABEL
index a8f856b..59e8bc8 100644 (file)
@@ -39,6 +39,7 @@
                <hbox style="border-bottom: solid black thin">
                        <hbox id="marc_cn"/>
                        <spacer flex="1" />
+                       <checkbox id="print_labels" label="Print Labels" persist="checked"/>
                        <button id="Create" accesskey="C" label="Create" disabled="true" oncommand="g.stash_and_close();"/>
                </hbox>
                <grid flex="1">