ACQ invoice tabs scroll improvements
authorBill Erickson <berick@esilibrary.com>
Fri, 28 Sep 2012 17:58:07 +0000 (13:58 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 17 Oct 2012 01:41:28 +0000 (21:41 -0400)
Avoid nested scrollbars on tabbed ACQ invoice UI.  This is done by
removing a ContentPane layer and setting doLayout='false' on the
TabContainer, which allows the individual tabs to control their own
height dynamically, which means no more hard-set 600px height on the
tabs.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/acq/invoice/view.tt2

index 27f2916..a4a60fb 100644 (file)
         </div>
     </div>
 
+    <!--
     <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+    -->
 
-        <div dojoType="dijit.layout.TabContainer" style="width: 96%; height: 100%;">
+        <div dojoType="dijit.layout.TabContainer" style="width: 96%; height: 100%;" doLayout='false'>
             <div dojoType="dijit.layout.ContentPane" 
-                class='oils-acq-detail-content-pane' title="Invoice" selected='true' style='height:600px'>
+                class='oils-acq-detail-content-pane' title="Invoice" selected='true'>
 
                 <script type='dojo/connect' event='onShow'>
                     // the table is left at display=none on subsequent tab views
                 </div>
             </div> <!-- tab 2 -->
         </div> <!-- end tabcontainer -->
-    </div> <!-- end contentpane -->
+    <!--</div>--> <!-- end contentpane -->
 </div>
 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>
 <div jsId='extraItemsDialog' dojoType="dijit.Dialog" title="Extra Items">