[open-ils-commits] r17599 - in trunk/Open-ILS/web/templates/default/acq: financial search (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Sep 10 18:24:50 EDT 2010


Author: senator
Date: 2010-09-10 18:24:44 -0400 (Fri, 10 Sep 2010)
New Revision: 17599

Modified:
   trunk/Open-ILS/web/templates/default/acq/financial/view_fund.tt2
   trunk/Open-ILS/web/templates/default/acq/search/unified.tt2
Log:
Add "refresh grid" buttons to some consistently glitchy autogrids.

This is obviously not an ideal solution, but if the user sees these grids
and it's clear that not all the rows that should appear are rendering, they
at least have a button to click to deal with it.  There are probably other
places where this could be applied.



Modified: trunk/Open-ILS/web/templates/default/acq/financial/view_fund.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/financial/view_fund.tt2	2010-09-10 22:02:54 UTC (rev 17598)
+++ trunk/Open-ILS/web/templates/default/acq/financial/view_fund.tt2	2010-09-10 22:24:44 UTC (rev 17599)
@@ -212,6 +212,7 @@
             <script type='dojo/connect' event='onShow'>loadDebitGrid();</script>
             
             <div dojoType="dijit.layout.ContentPane" layoutAlign="top" style='height:600px;'> 
+                <button dojoType="dijit.form.Button" onClick="fundDebitGrid.refresh();">Refresh Grid</button>
                 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
 
                     <table 

Modified: trunk/Open-ILS/web/templates/default/acq/search/unified.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/search/unified.tt2	2010-09-10 22:02:54 UTC (rev 17598)
+++ trunk/Open-ILS/web/templates/default/acq/search/unified.tt2	2010-09-10 22:24:44 UTC (rev 17599)
@@ -201,6 +201,9 @@
     </div>
     <div id="acq-unified-results-invoice" class="hidden">
         <div class="acq-unified-result-specific-controls">
+            <button onclick="dijit.byId('acq-unified-inv-grid').refresh();">
+                Refresh Grid
+            </button>
             <button onclick="printInvoiceVouchers();">
                 Print Selected Invoices
             </button>
@@ -217,7 +220,7 @@
             <thead>
                 <tr>
                     <th field="inv_ident" get="getInvIdent"
-                        formatter="formatInvIdent">Vendor Invoice ID</th>
+                        formatter="formatInvIdent"></th>
                 </tr>
             </thead>
         </table>



More information about the open-ils-commits mailing list