From: erickson Date: Wed, 17 Sep 2008 16:02:33 +0000 (+0000) Subject: only show the print page when actually printing X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=76f99ae5a0f522cd795a8521f43d7287c9bbf878;p=Evergreen.git only show the print page when actually printing git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@10618 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) {