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. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
afc6628082
commit
bdd8eb5a81
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue