From 6e55f5caa162aaeb68e2a48d5fb53154ee998a98 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 30 Nov 2016 05:54:22 -0500 Subject: [PATCH] webstaff: use ng-show rather than ng-if for showIframe This avoids an issue with ng-if creating a separate scope. Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/share/t_eframe.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/services/eframe.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/share/t_eframe.tt2 b/Open-ILS/src/templates/staff/share/t_eframe.tt2 index 0c9d72d456..8bb274d8e6 100644 --- a/Open-ILS/src/templates/staff/share/t_eframe.tt2 +++ b/Open-ILS/src/templates/staff/share/t_eframe.tt2 @@ -3,7 +3,7 @@ diff --git a/Open-ILS/web/js/ui/default/staff/services/eframe.js b/Open-ILS/web/js/ui/default/staff/services/eframe.js index 9bd6e3d6f0..e87b0baa4b 100644 --- a/Open-ILS/web/js/ui/default/staff/services/eframe.js +++ b/Open-ILS/web/js/ui/default/staff/services/eframe.js @@ -280,6 +280,7 @@ angular.module('egCoreMod') } $scope.restoreEmbed = function() { $scope.showIframe = true; + $scope.reload(); } }] } -- 2.43.2