[open-ils-commits] r19463 - branches/rel_2_1/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:42:13 EST 2011
Author: phasefx
Date: 2011-02-16 23:42:10 -0500 (Wed, 16 Feb 2011)
New Revision: 19463
Modified:
branches/rel_2_1/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
Log:
CSS hook for check-in failures with selfcheck
Modified: branches/rel_2_1/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
===================================================================
--- branches/rel_2_1/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js 2011-02-17 04:20:19 UTC (rev 19462)
+++ branches/rel_2_1/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js 2011-02-17 04:42:10 UTC (rev 19463)
@@ -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