[open-ils-commits] r12923 - in trunk/Open-ILS/web: js/dojo/openils/widget templates/default/acq/picklist (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 20 15:34:11 EDT 2009
Author: erickson
Date: 2009-04-20 15:34:05 -0400 (Mon, 20 Apr 2009)
New Revision: 12923
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js
trunk/Open-ILS/web/templates/default/acq/picklist/list.tt2
Log:
strange things happen when you have to progress dialogs.. the page strethes out, not sure why. make it so a given dialog can be either indeterminate or not for reuse
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js 2009-04-20 18:33:33 UTC (rev 12922)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js 2009-04-20 19:34:05 UTC (rev 12923)
@@ -26,6 +26,10 @@
update : function() {
this.progress.update.apply(this.progress, arguments);
+ },
+
+ setInd : function(isInd) {
+ this.progress.indeterminate = this.indeterminate = isInd;
}
}
);
Modified: trunk/Open-ILS/web/templates/default/acq/picklist/list.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/picklist/list.tt2 2009-04-20 18:33:33 UTC (rev 12922)
+++ trunk/Open-ILS/web/templates/default/acq/picklist/list.tt2 2009-04-20 19:34:05 UTC (rev 12923)
@@ -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">
@@ -111,7 +111,8 @@
</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 %]
More information about the open-ils-commits
mailing list