From ad27cf936d528ef132e66ea1a548aa377a62dea0 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Mon, 30 Jan 2012 13:41:55 -0500 Subject: [PATCH] Avoid three-scrollbar situation in Acq -> Providers -> Invoices tab You can certainly still get two scrollbars here, which is unfortunate, but at least you shouldn't be able to get three anymore. This solution also gives us a way to deal with the same problem if/when it is seen in other interfaces (I feel like I've seen it occasionally). Before now, AutoGrid created a content pane dynamically and placed place it in the DOM before its own root DOM node. Depending on where that lands in a surrounding hierarchy of dijit.layout.ContentPane objects, that can create a situation where more scrollbars are generated to show more DOM objects in a limited space. This generated content pane is where AutoGrid puts its Back, Next and potentially Filter links. Now you can specify a DOM node where you want that material to go instead, and control the layout better. Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/templates/conify/global/acq/provider.tt2 | 17 ++++++++++++++++- Open-ILS/web/js/dojo/openils/widget/AutoGrid.js | 19 +++++++++++++------ 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/templates/conify/global/acq/provider.tt2 b/Open-ILS/src/templates/conify/global/acq/provider.tt2 index 655d838a2c..d6eed146f5 100644 --- a/Open-ILS/src/templates/conify/global/acq/provider.tt2 +++ b/Open-ILS/src/templates/conify/global/acq/provider.tt2 @@ -61,8 +61,10 @@ +
Delete Selected +
Delete Selected +
Delete Selected +
Delete Selected +
- Invoices +
+
Invoices
+
+
+