From 05b039549ec0ad8f9796dda4166ca3ac42029b30 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 6 Feb 2017 12:39:17 -0500 Subject: [PATCH] tweak embedding of Dojo acquisitions pages - turn on the "open in new window" button - set minimum height of eframes to 2000px Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/acq/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/acq/app.js b/Open-ILS/web/js/ui/default/staff/acq/app.js index d5fd84757f..b100c4fee3 100644 --- a/Open-ILS/web/js/ui/default/staff/acq/app.js +++ b/Open-ILS/web/js/ui/default/staff/acq/app.js @@ -9,7 +9,7 @@ angular.module('egAcquisitions', var resolver = {delay : function(egStartup) {return egStartup.go()}}; var eframe_template = - ''; + ''; $routeProvider.when('/acq/legacy/:noun/:verb', { template: eframe_template, @@ -35,6 +35,8 @@ function($scope , $routeParams , $location , egCore) { var acq_path = '/eg/acq/' + $routeParams.noun + '/' + $routeParams.verb + location.search; + $scope.min_height = 2000; // give lots of space to start + // embed URL must include protocol/domain or it will be loaded via // push-state, resulting in an infinitely nested pages. $scope.acq_url = -- 2.43.2