when a new hold is placed, tell the containing staff client about it
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 13 Aug 2009 16:42:06 +0000 (16:42 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 13 Aug 2009 16:42:06 +0000 (16:42 +0000)
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

index 245b391..d7730e5 100644 (file)
@@ -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 {