From 8acb4236169d695d6ce7cb9d4e45519e6b35ab53 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 17 Nov 2008 19:14:37 +0000 Subject: [PATCH] add option to copy editor for Remove Circulate as Type git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@11243 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 2 +- Open-ILS/xul/staff_client/server/locale/en-US/cat.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index c9b38d44d0..f1aaf29073 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -861,7 +861,7 @@ g.panes_and_field_names = { $('catStrings').getString('staff.cat.copy_editor.field.circulate_as_type.label'), { render: 'fm.circ_as_type() == null ? $("catStrings").getString("staff.cat.copy_editor.field.unset_or_null") : g.data.hash.citm[ fm.circ_as_type() ].value()', - input: 'c = function(v){ g.apply("circ_as_type",v); if (typeof post_c == "function") post_c(v); }; x = util.widgets.make_menulist( util.functional.map_list( g.data.list.citm, function(n){return [ n.code() + " - " + n.value(), n.code()];} ).sort() ); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', + input: 'c = function(v){ g.apply("circ_as_type",v); if (typeof post_c == "function") post_c(v); }; x = util.widgets.make_menulist( [ [ $("catStrings").getString("staff.cat.copy_editor.remove_circulate_as_type"), "" ] ].concat( util.functional.map_list( g.data.list.citm, function(n){return [ n.code() + " - " + n.value(), n.code()];} ).sort() ) ); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', } ], [ diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties b/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties index 88474b7860..ac54e1b538 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties @@ -143,6 +143,7 @@ staff.cat.copy_editor.add_stat_cat.error=Error adding statistical category to di staff.cat.copy_editor.populate_stat_cat.error=Error populating statistical categories for display staff.cat.copy_editor.remove_stat_cat_entry= staff.cat.copy_editor.remove_age_based_hold_protection= +staff.cat.copy_editor.remove_circulate_as_type= staff.cat.copy_editor.field.unset_or_null= staff.cat.copy_editor.field.owning_library.label=Owning Lib : Call Number staff.cat.copy_editor.field.creator.label=Creator -- 2.11.0