Bugzilla – Attachment 132030 Details for
Bug 25251
When a record has no items click delete all does not need an alert
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25251: (follow-up) Remove alertNoItems
Bug-25251-follow-up-Remove-alertNoItems.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2022-03-22 15:48:13 UTC
(
hide
)
Description:
Bug 25251: (follow-up) Remove alertNoItems
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-03-22 15:48:13 UTC
Size:
1.09 KB
patch
obsolete
>From d610190f4406e86a9bbe2e3d7051d3739fe6ee46 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 22 Mar 2022 11:40:07 +0000 >Subject: [PATCH] Bug 25251: (follow-up) Remove alertNoItems > >We should not need this function any longer > >I left the else conditional just in case > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/js/catalog.js | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/catalog.js b/koha-tmpl/intranet-tmpl/prog/js/catalog.js >index 7b40873f208..072680afcea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/catalog.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/catalog.js >@@ -71,15 +71,10 @@ function confirm_items_deletion() { > return false; > } > } else { >- alertNoItems(); > return false; > } > } > >-function alertNoItems(){ >- alert( __("This record has no items.") ); >-} >- > /* END IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) */ > > $(document).ready(function() { >-- >2.25.1
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 25251
:
131669
|
131674
|
131675
|
132012
|
132029
| 132030