[open-ils-commits] r10619 - trunk/Open-ILS/web/opac/extras/selfcheck
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 17 12:02:41 EDT 2008
Author: erickson
Date: 2008-09-17 12:02:38 -0400 (Wed, 17 Sep 2008)
New Revision: 10619
Modified:
trunk/Open-ILS/web/opac/extras/selfcheck/selfcheck.js
Log:
only show the print page when actually printing
Modified: trunk/Open-ILS/web/opac/extras/selfcheck/selfcheck.js
===================================================================
--- trunk/Open-ILS/web/opac/extras/selfcheck/selfcheck.js 2008-09-17 16:02:33 UTC (rev 10618)
+++ trunk/Open-ILS/web/opac/extras/selfcheck/selfcheck.js 2008-09-17 16:02:38 UTC (rev 10619)
@@ -175,8 +175,6 @@
function selfckLogoutPatron() {
$('selfck-item-barcode-input').value = ''; // prevent browser caching
$('selfck-patron-login-input').value = '';
- hideMe($('selfck-patron-checkout-container'));
- unHideMe($('selfck-print-queuing'));
if(patron) {
selfckPrint();
setTimeout(
@@ -409,6 +407,8 @@
*/
function selfckPrint() {
for(var x in successfulItems) { // make sure we've checked out at least one item
+ hideMe($('selfck-patron-checkout-container'));
+ unHideMe($('selfck-print-queuing'));
appendClear($('selfck-print-date'), text(new Date().toLocaleString()));
appendClear($('selfck-print-lib-name'), text(orgUnit.name()));
if(orgUnitAddress) {
More information about the open-ils-commits
mailing list