From 972b0535fb7dffa039ce2250df47c8cbf7ce3e57 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 28 Aug 2006 13:36:01 +0000 Subject: [PATCH] fixed logic error created by log line (no brackets), removed alert line git-svn-id: svn://svn.open-ils.org/ILS/trunk@5730 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/javascript/backend/circ/circ_permit_hold.js | 4 +++- Open-ILS/web/opac/skin/default/js/holds.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/javascript/backend/circ/circ_permit_hold.js b/Open-ILS/src/javascript/backend/circ/circ_permit_hold.js index cc3238a55b..f7ac0f7f73 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_permit_hold.js +++ b/Open-ILS/src/javascript/backend/circ/circ_permit_hold.js @@ -25,11 +25,13 @@ if( ( getMARCItemType() == 'g' || mod == 'dvd' || mod == 'video' ) && - !isOrgDescendent(copy.circ_lib.shortname, patron.home_ou.id) ) + !isOrgDescendent(copy.circ_lib.shortname, patron.home_ou.id) ) { log_info("This patron may not place a hold on the selected item"); result.events.push('ITEM_NOT_HOLDABLE'); +} + } go(); diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index c3df1fbcd8..e0f5ce08ba 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -686,7 +686,6 @@ function holdHandleCreateResponse(r) { return; } - alert(js2JSON(res)); holdCreateHold(r._recurse, r._hold); } -- 2.11.0