[open-ils-commits] r19461 - trunk/Open-ILS/web/js/ui/default/circ/selfcheck (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 16 23:18:30 EST 2011
Author: phasefx
Date: 2011-02-16 23:18:27 -0500 (Wed, 16 Feb 2011)
New Revision: 19461
Modified:
trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
Log:
CSS hook for check-in failures with selfcheck
Modified: trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js 2011-02-17 03:31:01 UTC (rev 19460)
+++ trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js 2011-02-17 04:18:27 UTC (rev 19461)
@@ -373,6 +373,11 @@
dojo.byId('oils-selfck-status-div').innerHTML = message;
+ if(shouldPopup)
+ openils.Util.addCSSClass( dojo.byId('oils-selfck-status-div'), 'checkout_failure' );
+ else
+ openils.Util.removeCSSClass( dojo.byId('oils-selfck-status-div'), 'checkout_failure' );
+
if(shouldPopup && this.orgSettings[SET_ALERT_POPUP])
alert(message);
More information about the open-ils-commits
mailing list