From 0e54e117d4fc7ac2de2a991a60a161d32fc58e0d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 6 Feb 2017 12:53:41 -0500 Subject: [PATCH] tweak embedding of Dojo acq admin 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/admin/acq/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/admin/acq/app.js b/Open-ILS/web/js/ui/default/staff/admin/acq/app.js index 245725ec67..14dbe847f9 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/acq/app.js +++ b/Open-ILS/web/js/ui/default/staff/admin/acq/app.js @@ -9,7 +9,7 @@ angular.module('egAcqAdmin', var resolver = {delay : function(egStartup) {return egStartup.go()}}; var eframe_template = - ''; + ''; $routeProvider.when('/admin/acq/:noun/:verb/:extra?', { template: eframe_template, @@ -49,6 +49,8 @@ function($scope , $routeParams , $location , egCore) { + 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_admin_url = -- 2.43.2