]> git.koha-community.org Git - koha.git/commit
Bug 13132: Add confirm dialog for deleting reports from the reports toolbar
authorAleisha <aleishaamohia@hotmail.com>
Tue, 29 Mar 2016 23:27:23 +0000 (23:27 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 31 Mar 2016 18:50:54 +0000 (18:50 +0000)
commit181a85fe1513ce070e319e9d042578d96418dc17
treedb2b38de2806b44d5b900ca3f10bb13036d46a2a
parent0a14e22d59343475ed6970b82b474a80e43d8e29
 Bug 13132: Add confirm dialog for deleting reports from the reports toolbar

To test:

1) Go to Reports -> Use saved (or build a new one if you have none saved)
2) Click on the Actions drop down and confirm that when you click Delete from here, a confirm message shows up. Click Cancel.
3) Click Show in the drop down menu
4) Click Delete in the Reports toolbar. Confirm you now get a confirm message. Clicking Cancel will cancel the delete, and clicking OK deletes the report and takes you to the saved reports page.

Spponsored-by: Catalyst IT
Signed-off-by: Magnus Enger <magnus@libriotech.no>
After applying the patch I get a JavaScript popup confirmation when
I click on the delete button, in the Show, Edit and Run views. Nice!

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc