From 06f133e58a78047c3bbe1fd8ab06ed89fa8786dc Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 17 Sep 2008 16:02:38 +0000 Subject: [PATCH] only show the print page when actually printing git-svn-id: svn://svn.open-ils.org/ILS/trunk@10619 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/extras/selfcheck/selfcheck.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/opac/extras/selfcheck/selfcheck.js b/Open-ILS/web/opac/extras/selfcheck/selfcheck.js index 3f966cae83..60646fc959 100644 --- a/Open-ILS/web/opac/extras/selfcheck/selfcheck.js +++ b/Open-ILS/web/opac/extras/selfcheck/selfcheck.js @@ -175,8 +175,6 @@ function selfckResetTimer() { 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 selfckRenew() { */ 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) { -- 2.43.2