From: Bill Erickson Date: Tue, 28 May 2013 18:07:47 +0000 (-0400) Subject: LP1182519 Per-Hold Behind Desk UI X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=66df44603b7c4c08a6e815e9f5a09973523fdb89;p=evergreen%2Fequinox.git LP1182519 Per-Hold Behind Desk UI Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index 35473e20d4..f115c38289 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -447,7 +447,7 @@ patron.summary.prototype = { } obj.network.simple_request( 'FM_AHR_COUNT_RETRIEVE.authoritative', - [ ses(), obj.patron.id() ], + [ ses(), obj.patron.id(), ses('ws_ou') ], function(req) { var robj = req.getResultObject(); util.widgets.set_text(e, @@ -455,10 +455,12 @@ patron.summary.prototype = { ); if (e2) { util.widgets.set_text(e2, robj.ready); - if (true /* behind-shelf supported */) { // TODO - // TODO: un-hide e3 + if (robj.behind_desk) { + removeCSSClass(e3.parentNode, 'hideme'); util.widgets.set_text(e3, robj.behind_desk); - } + } else { + addCSSClass(e3.parentNode, 'hideme'); + } } if (under_btn) util.widgets.set_text(under_btn, req.getResultObject().ready + '/' + req.getResultObject().total ); obj.holds_summary = robj; diff --git a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul index 5ca8bfb095..4496594cd9 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul @@ -77,7 +77,8 @@