[open-ils-commits] r17161 - trunk/Open-ILS/web/templates/default/acq/common (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 10 17:13:02 EDT 2010


Author: senator
Date: 2010-08-10 17:12:56 -0400 (Tue, 10 Aug 2010)
New Revision: 17161

Modified:
   trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2
Log:
Acq: fix certain dialogs needlessly flashing on-screen while li_table loads


Modified: trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2	2010-08-10 21:10:53 UTC (rev 17160)
+++ trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2	2010-08-10 21:12:56 UTC (rev 17161)
@@ -284,8 +284,10 @@
         </table>
     </div>
 
-    <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
-        [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
+    <div class="hidden">
+        <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
+            [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
+        </div>
     </div>
 
     <div class='hidden' id='acq-lit-progress-numbers'>
@@ -355,37 +357,37 @@
         </div>
     </div>
 
-    <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
-        <table class='dijitTooltipTable'>
-            <tr>
-                <td colspan='2'>
-                    <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
-                    <label for="name">Save selected</label>
-                    <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
-                    <label for="name">Save all</label>
-                </td>
-            </tr>
-            <tr><td colspan='2'><hr/></td></tr>
-            <tr>
-                <td><label for="new_name">Save as Selection List: </label></td>
-                <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
-            </tr>
-            <tr>
-                <td><label for="existing_pl">Add to Selection List: </label></td>
-                <td>
-                    <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect" 
-                        name="existing_pl" searchAttr='name' displayAttr='name'/>
-                </td>
-            </tr>
-            <tr>
-                <td colspan='2' align='center'>
-                    <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
-                </td>
-            </tr>
-        </table>
-    </div>
+    <div class="hidden">
+        <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
+            <table class='dijitTooltipTable'>
+                <tr>
+                    <td colspan='2'>
+                        <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
+                        <label for="name">Save selected</label>
+                        <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
+                        <label for="name">Save all</label>
+                    </td>
+                </tr>
+                <tr><td colspan='2'><hr/></td></tr>
+                <tr>
+                    <td><label for="new_name">Save as Selection List: </label></td>
+                    <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
+                </tr>
+                <tr>
+                    <td><label for="existing_pl">Add to Selection List: </label></td>
+                    <td>
+                        <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect" 
+                            name="existing_pl" searchAttr='name' displayAttr='name'/>
+                    </td>
+                </tr>
+                <tr>
+                    <td colspan='2' align='center'>
+                        <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
+                    </td>
+                </tr>
+            </table>
+        </div>
 
-    <div class="hidden">
         <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
             <label for="acq-lit-lid-cancel-reason">Reason:</label>
             <span id="acq-lit-lid-cancel-reason"></span>



More information about the open-ils-commits mailing list