[open-ils-commits] r13823 - trunk/Open-ILS/web/opac/skin/default/js (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 13 12:42:10 EDT 2009


Author: erickson
Date: 2009-08-13 12:42:06 -0400 (Thu, 13 Aug 2009)
New Revision: 13823

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/holds.js
Log:
when a new hold is placed, tell the containing staff client about it

Modified: trunk/Open-ILS/web/opac/skin/default/js/holds.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/holds.js	2009-08-13 16:37:45 UTC (rev 13822)
+++ trunk/Open-ILS/web/opac/skin/default/js/holds.js	2009-08-13 16:42:06 UTC (rev 13823)
@@ -820,6 +820,8 @@
 	if( res && res > -1 ) {
 		alert($('holds_success').innerHTML);
 		holdArgs = null;
+        if(isXUL() && typeof xulG.opac_hold_placed == 'function')
+            xulG.opac_hold_placed(res);
 
 	} else {
 



More information about the open-ils-commits mailing list