Acq: fix certain dialogs needlessly flashing on-screen while li_table loads
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Aug 2010 21:12:56 +0000 (21:12 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Aug 2010 21:12:56 +0000 (21:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17161 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/acq/common/li_table.tt2

index 6a1f026..5331a13 100644 (file)
         </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'>
         </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 dojoType="dijit.Dialog" jsId="lidCancelDialog">
             <label for="acq-lit-lid-cancel-reason">Reason:</label>
             <span id="acq-lit-lid-cancel-reason"></span>