From 04c2a512d08e145824dda98cea119a4c833f4b94 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 21 Jul 2014 08:48:33 -0400 Subject: [PATCH] minor cleanup Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/staff/services/eframe.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 d4c01763c0..5d4f94fbc5 100644 --- a/Open-ILS/web/js/ui/default/staff/services/eframe.js +++ b/Open-ILS/web/js/ui/default/staff/services/eframe.js @@ -67,16 +67,11 @@ angular.module('egCoreMod') var page = iframe.contentWindow.location.href; console.debug('egEmbedFrameLoader(): ' + page); - $scope.prev_page = function() { - iframe.contentWindow.history.back(); - } + // reload ifram page w/o reloading the entire UI $scope.reload_page = function() { iframe.contentWindow.location.replace( iframe.contentWindow.location); } - $scope.next_page = function() { - iframe.contentWindow.history.forward(); - } // tell the iframe'd window its inside the staff client iframe.contentWindow.IAMXUL = true; -- 2.11.0