Bugzilla – Attachment 8043 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.14 KB, created by
Kyle M Hall
on 2012-03-06 19:09:45 UTC
(
hide
)
Description:
Bug 7656 - "undefined" pop-up message when putting hold on reference item
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-03-06 19:09:45 UTC
Size:
1.14 KB
patch
obsolete
>From 02d90aa16e5a34c06d052ff3edabf2bf1979a373 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 > >This is a single line fix. Initializing the msg var to an empty >string solves the problem. >--- > .../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