From: Bill Erickson Date: Tue, 27 Jun 2017 16:14:47 +0000 (-0400) Subject: JBAS-1728 SCKO clear notices on navigation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2b7e2e077836312e85ee57dbf4688ddaa591a813;p=working%2FEvergreen.git JBAS-1728 SCKO clear notices on navigation Remove the patron checkout and renewal event notifications from the UI any time navigation occurs. Fix HTML syntax error for back_button onlick handler. Signed-off-by: Bill Erickson --- diff --git a/KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2 b/KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2 index cec6ff72ad..7f118c174c 100644 --- a/KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2 +++ b/KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2 @@ -10,7 +10,9 @@ @@ -148,7 +159,9 @@ function switchTo(str,subpage) { diff --git a/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js b/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js index 5ecdd8d7bd..b52b9249ad 100644 --- a/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js +++ b/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js @@ -597,6 +597,7 @@ SelfCheckManager.prototype.updateFinesSummary = function() { SelfCheckManager.prototype.drawItemsOutPage = function() { switchTo('step3','step3d'); + dojo.byId('oils-selfck-status-div').innerHTML = ''; // reset notices // Reset items checked out in case it changed this.circSummary = undefined; @@ -795,6 +796,7 @@ SelfCheckManager.prototype.updateCircSummary = function(increment) { SelfCheckManager.prototype.drawHoldsPage = function() { switchTo('step3','step3e'); + dojo.byId('oils-selfck-status-div').innerHTML = ''; // reset notices this.holdTbody = dojo.byId('oils-selfck-hold-tbody'); this.readyTbody = dojo.byId('oils-selfck-rdy-tbody'); @@ -915,6 +917,8 @@ SelfCheckManager.prototype.drawFinesPage = function() { // this.updateScanBox(...) switchTo('step3','step3c'); + dojo.byId('oils-selfck-status-div').innerHTML = ''; // reset notices + progressDialog.show(true); this.finesTbody = dojo.byId('oils-selfck-fines-tbody');