From: Bill Erickson Date: Mon, 21 Jul 2014 12:48:33 +0000 (-0400) Subject: minor cleanup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=04c2a512d08e145824dda98cea119a4c833f4b94;p=working%2FEvergreen.git minor cleanup Signed-off-by: Bill Erickson --- 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;