minor cleanup
authorBill Erickson <berick@esilibrary.com>
Mon, 21 Jul 2014 12:48:33 +0000 (08:48 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 21 Jul 2014 12:48:33 +0000 (08:48 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/ui/default/staff/services/eframe.js

index d4c0176..5d4f94f 100644 (file)
@@ -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;