strange things happen when you have to progress dialogs.. the page strethes out,...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Apr 2009 19:34:05 +0000 (19:34 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Apr 2009 19:34:05 +0000 (19:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12923 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js
Open-ILS/web/templates/default/acq/picklist/list.tt2

index e0ffbcb..2365d33 100644 (file)
@@ -26,6 +26,10 @@ if(!dojo._hasResource['openils.widget.ProgressDialog']) {
 
             update : function() {
                 this.progress.update.apply(this.progress, arguments);
+            },
+
+            setInd : function(isInd) {
+                this.progress.indeterminate = this.indeterminate = isInd;
             }
         }
     );
index 18445da..a79f72f 100644 (file)
@@ -31,6 +31,7 @@
         }
     }
 </script>
+
 <div class='oils-acq-actions-div'>
 
     <div dojoType="dijit.form.DropDownButton">
@@ -85,7 +86,6 @@
     </div>
 
     <button dojoType="dijit.form.Button" onclick="deleteFromGrid();">Delete Selected</button>
-
 </div>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
     </div>
 </div>
 
-<div class='hidden'><div jsId='progressDialog' dojoType='openils.widget.ProgressDialog'/></div>
-<div class='hidden'><div jsId='progressDialogInd' dojoType='openils.widget.ProgressDialog' indeterminate='true'/></div>
+<div class='hidden'>
+    <div jsId='progressDialog' dojoType='openils.widget.ProgressDialog'/>
+</div>
 
 [% END %]