Backport r17599 from trunk, refresh grid buttons
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Sep 2010 22:30:23 +0000 (22:30 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Sep 2010 22:30:23 +0000 (22:30 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17600 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>