From 9f9d4aa4b067be60af423b2e2497ae370ef2484d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Jun 2017 18:57:04 +0000 Subject: [PATCH] Bug 18847 - Add "Save and continue" option to notice editing This patch adds an option to "Save and continue editing" when editing notices. The submit button is now a split button in a floating toolbar. The secondary action of the split button is "Save and continue editing." To test, apply the patch and go to Tools -> Notices. - Open any notice for editing. Verify that the toolbar looks correct and floats as it should when sections of the form are expanded and the page scrolls. - Edit a notice and click the "Save" button. Confirm that you are redirected to the main Notices page and that your changes were saved. - Edit a notice and click the "Save and continue editing" menu item. The page should reload with your updates in place. Signed-off-by: NickUCKohaCon17 Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/letter.tt | 30 +++++++++++++++++-- tools/letter.pl | 8 ++++- 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 441b0ed75e..09a5e793d8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -5,10 +5,14 @@ [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] +