Bugzilla – Attachment 8184 Details for
Bug 7656
"undefined" pop-up message when putting hold on reference item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7656 - "undefined" pop-up message when putting hold on reference item
Bug-7656---undefined-pop-up-message-when-putting-h.patch (text/plain), 1.25 KB, created by
Jared Camins-Esakov
on 2012-03-12 14:53:37 UTC
(
hide
)
Description:
Bug 7656 - "undefined" pop-up message when putting hold on reference item
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-03-12 14:53:37 UTC
Size:
1.25 KB
patch
obsolete
>From 4ca14ead97907603ee553f722041e28159ee83a5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 6 Mar 2012 14:08:04 -0500 >Subject: [PATCH] Bug 7656 - "undefined" pop-up message when putting hold on reference item >Content-Type: text/plain; charset="UTF-8" > >This is a single line fix. Initializing the msg var to an empty >string solves the problem. > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >--- > .../prog/en/modules/reserve/request.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index fa45e26..2771c6f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -93,7 +93,7 @@ function checkMultiHold() { > $(document).ready(function() { > $("input.needsoverride").click(function() { // This must be before the radio button/checkbox switch logic > var itemnumber = this.value; >- var msg; >+ var msg = ''; > > switch (override_items[itemnumber].holdallowed) { > case 0: msg = _( 'This item normally cannot be put on hold.' ); break; >-- >1.7.2.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 7656
:
8042
|
8043
| 8184