From 8868d6a408ddcfcd3796c3b0574dcf8ee4c9e7ed Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 13 Aug 2009 16:42:06 +0000 Subject: [PATCH] when a new hold is placed, tell the containing staff client about it git-svn-id: svn://svn.open-ils.org/ILS/trunk@13823 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/holds.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index 245b3916a2..d7730e5d78 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -820,6 +820,8 @@ function holdProcessResult( hold, res, recurse ) { if( res && res > -1 ) { alert($('holds_success').innerHTML); holdArgs = null; + if(isXUL() && typeof xulG.opac_hold_placed == 'function') + xulG.opac_hold_placed(res); } else { -- 2.11.0