From 28cbd5c25147ddc21370b4dd6c7cfe3f6c344613 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 28 Dec 2016 10:59:33 -0500 Subject: [PATCH] LP#1526185 op-change supplies egNet.handlePermFailure Teach egOpChange to handle permission failure events via the new egNet.handlePermFailure() handler. This commit includes additional repairs to op-change promise handling and minor formatting adjustments. Op-change also now displays the username of the op-changed user in the navbar immediately upon op-change. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- .../src/templates/staff/share/t_opchange.tt2 | 14 +-- .../js/ui/default/staff/services/navbar.js | 18 ++-- .../js/ui/default/staff/services/op_change.js | 89 ++++++++++++------- 3 files changed, 75 insertions(+), 46 deletions(-) diff --git a/Open-ILS/src/templates/staff/share/t_opchange.tt2 b/Open-ILS/src/templates/staff/share/t_opchange.tt2 index 2ca7fbe787..584c2960b4 100644 --- a/Open-ILS/src/templates/staff/share/t_opchange.tt2 +++ b/Open-ILS/src/templates/staff/share/t_opchange.tt2 @@ -8,30 +8,32 @@