From: Kyle Huckins Date: Mon, 11 Apr 2016 17:56:01 +0000 (-0700) Subject: CAT-55 Save Patron Message Columns X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1d07afeb4f646a4cec5bbab0e52545f7fd87b945;p=working%2FEvergreen.git CAT-55 Save Patron Message Columns Add Locale line for "Save Columns" in patron messages. Add Save Column command to standing_penalties xul. Add function to standing_penalties js to handle saving columns. Signed-off-by: Kyle Huckins Changes to be committed: modified: Open-ILS/web/opac/locale/en-US/lang.dtd modified: Open-ILS/xul/staff_client/server/patron/standing_penalties.js modified: Open-ILS/xul/staff_client/server/patron/standing_penalties.xul --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 032339efea..f10f076d27 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1601,6 +1601,7 @@ + diff --git a/Open-ILS/xul/staff_client/server/patron/standing_penalties.js b/Open-ILS/xul/staff_client/server/patron/standing_penalties.js index de2f3a0b6b..3afff57f20 100644 --- a/Open-ILS/xul/staff_client/server/patron/standing_penalties.js +++ b/Open-ILS/xul/staff_client/server/patron/standing_penalties.js @@ -35,6 +35,7 @@ function penalty_init() { window.standing_penalties_event_listeners.add(document.getElementById('cmd_remove_penalty'), 'command', handle_remove_penalty, false); window.standing_penalties_event_listeners.add(document.getElementById('cmd_edit_penalty'), 'command', handle_edit_penalty, false); window.standing_penalties_event_listeners.add(document.getElementById('cmd_archive_penalty'), 'command', handle_archive_penalty, false); + window.standing_penalties_event_listeners.add(document.getElementById('cmd_save_columns'), 'command', handle_column_save, false); window.standing_penalties_event_listeners.add(document.getElementById('cmd_retrieve_archived_penalties'), 'command', handle_retrieve_archived_penalties, false); populate_list(); default_focus(); @@ -510,3 +511,7 @@ function handle_retrieve_archived_penalties() { if (error) error.standard_unexpected_error_alert(err_prefix,E); else alert(err_prefix + E); } } + +function handle_column_save() { + list.save_columns(); +} diff --git a/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul b/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul index 9476116178..cf8ce647e6 100644 --- a/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul +++ b/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul @@ -42,6 +42,8 @@ + + @@ -79,6 +81,8 @@ + + @@ -120,6 +124,8 @@ + +