port the rest of the Delete Record UI to 1.2
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 16 Jul 2007 20:19:33 +0000 (20:19 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 16 Jul 2007 20:19:33 +0000 (20:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7557 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/constants.js
Open-ILS/xul/staff_client/server/cat/record_buckets.xul
Open-ILS/xul/staff_client/server/cat/record_buckets_overlay.xul

index 2ee34b1..c33a5f1 100644 (file)
@@ -110,6 +110,7 @@ const api = {
        'FM_BRE_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.metadata.retrieve', 'secure' : false },
        'FM_BRE_ID_SEARCH_VIA_BARCODE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.find_by_barcode', 'secure' : false },
        'FM_BRE_ID_SEARCH_VIA_TCN' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.tcn', 'secure' : false },
+       'FM_BRE_DELETE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record_entry.delete', 'secure' : false },
        'FM_BRN_FROM_MARCXML' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.z3950.marcxml_to_brn', 'secure' : false },
        'FM_CCS_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.config.copy_status.retrieve.all', 'secure' : false },
        'FM_CIRC_DETAILS' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.fleshed.retrieve' },
index bfcac3c..4b84445 100644 (file)
@@ -93,6 +93,7 @@
                <command id="cmd_record_buckets_reprint" />
                <command id="cmd_record_buckets_done" />
                <command id="cmd_merge_records" />
+               <command id="cmd_delete_records" />
                <command id="cmd_sel_opac" />
        </commandset>
 
index 614c6ff..d408896 100644 (file)
@@ -70,6 +70,7 @@
        <hbox style="background: grey">
                <vbox><spacer flex="1"/><label value="Batch:" style="font-weight: bold"/><spacer flex="1"/></vbox>
                <button command="cmd_sel_opac" label="Show All in Catalog" accesskey="S"/>
+               <button id="record_buckets_delete_records" command="cmd_delete_records" label="Delete All Records"/>
                <button id="record_buckets_merge_records" command="cmd_merge_records" label="Merge All Records"/>
        </hbox>
 </hbox>