Bugzilla – Attachment 24323 Details for
Bug 11324
"Delete All Items" fails except on "Normal Tab"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 11324: delete all only works on 'normal' tab
bug-11324-delete-all-only-works-on-normal-tab.patch (text/plain), 1.31 KB, created by
AlexHorsman
on 2014-01-14 22:40:52 UTC
(
hide
)
Description:
bug 11324: delete all only works on 'normal' tab
Filename:
MIME Type:
Creator:
AlexHorsman
Created:
2014-01-14 22:40:52 UTC
Size:
1.31 KB
patch
obsolete
>From 491864e799357b616611295411adeca5a924fc20 Mon Sep 17 00:00:00 2001 >From: alex_h <dhorsman@xtra.co.nz> >Date: Wed, 15 Jan 2014 11:34:50 +1300 >Subject: [PATCH] bug 11324: delete all only works on 'normal' tab > >test plan >1. find a book with some items >2. in the marc tab click edit and choose delete all >3. notice it doesn't work >4. apply the patch >5. refresh page >6. try delete all again >--- > .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >index 63b22a4..0b10901 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >@@ -31,8 +31,8 @@ > function confirm_deletion() { > var count = [% count %]; > var holdcount = [% holdcount %]; >- var countorders = [% countorders %]; >- var countdeletedorders = [% countdeletedorders %]; >+ var countorders = [% countorders || 0%]; >+ var countdeletedorders = [% countdeletedorders || 0%]; > var is_confirmed; > if (count > 0){ > is_confirmed = alert( count + " " +_("item(s) are attached to this record. You must delete all items before deleting this record.") ); >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11324
: 24323