displaying report columns vertically to prevent unnecessary scrolling
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Jul 2008 03:22:23 +0000 (03:22 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Jul 2008 03:22:23 +0000 (03:22 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10083 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/reports/oils_rpt_editor.xhtml
Open-ILS/web/reports/oils_rpt_report_editor.js

index 007ced5..c277bd5 100644 (file)
@@ -34,7 +34,7 @@
                        </tr>
                        <tr>
                                <th>Report Columns:</th>
-                               <td nowrap='nowrap'><b id='oils_rpt_report_editor_cols'/></td>
+                               <td><b id='oils_rpt_report_editor_cols'/></td>
                        </tr>
                        <tr class='hide_me' id='oils_rpt_editor_pivot_label_row'>
                                <th>Pivot Label Column:</th>
index 8f30018..6343267 100644 (file)
@@ -13,11 +13,11 @@ function oilsRptReportEditor(rptObject, folderWindow) {
        appendClear(DOM.oils_rpt_report_editor_template_creator, tmpl.owner().usrname());
        appendClear(DOM.oils_rpt_report_editor_template_description, tmpl.description());
 
-       appendClear(DOM.oils_rpt_report_editor_cols,' | ');
        iterate(rptObject.def.select, 
                function(i) {
                        if(i)
-                               DOM.oils_rpt_report_editor_cols.appendChild(text(i.alias +' | '));
+                               DOM.oils_rpt_report_editor_cols.appendChild(text(i.alias));
+                               DOM.oils_rpt_report_editor_cols.appendChild(document.createElement('br'));
                }
        );