From 7e03e37efc0c8d306613d06488e21f4d6a9ca515 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Thu, 14 Apr 2016 10:14:40 -0700 Subject: [PATCH] CAT-55 Save Archived Message Columns Port previous commit's changes over to the archived message's pane. 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 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 1 + Open-ILS/xul/staff_client/server/patron/standing_penalties.js | 5 +++++ Open-ILS/xul/staff_client/server/patron/standing_penalties.xul | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index f10f076d27..ff5b53eae9 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1602,6 +1602,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 3afff57f20..c928783580 100644 --- a/Open-ILS/xul/staff_client/server/patron/standing_penalties.js +++ b/Open-ILS/xul/staff_client/server/patron/standing_penalties.js @@ -36,6 +36,7 @@ function penalty_init() { 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_save_archived_columns'), 'command', handle_archive_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(); @@ -515,3 +516,7 @@ function handle_retrieve_archived_penalties() { function handle_column_save() { list.save_columns(); } + +function handle_archive_column_save() { + archived_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 cf8ce647e6..94958323d2 100644 --- a/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul +++ b/Open-ILS/xul/staff_client/server/patron/standing_penalties.xul @@ -97,6 +97,10 @@ +