Add "refresh grid" buttons to some consistently glitchy autogrids.
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Sep 2010 22:24:44 +0000 (22:24 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Sep 2010 22:24:44 +0000 (22:24 +0000)
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.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17599 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/acq/financial/view_fund.tt2
Open-ILS/web/templates/default/acq/search/unified.tt2

index 53f8939..9d6e5f1 100644 (file)
             <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 
index 2befad9..1c2fd64 100644 (file)
     </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>
             <thead>
                 <tr>
                     <th field="inv_ident" get="getInvIdent"
-                        formatter="formatInvIdent">Vendor Invoice ID</th>
+                        formatter="formatInvIdent"></th>
                 </tr>
             </thead>
         </table>