From 3f3591dc270ce4803ca21f6f85917c4d87f6d356 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 20 Apr 2009 19:34:05 +0000 Subject: [PATCH] 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 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 | 4 ++++ Open-ILS/web/templates/default/acq/picklist/list.tt2 | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js b/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js index e0ffbcb692..2365d33a6c 100644 --- a/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js +++ b/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js @@ -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; } } ); diff --git a/Open-ILS/web/templates/default/acq/picklist/list.tt2 b/Open-ILS/web/templates/default/acq/picklist/list.tt2 index 18445da417..a79f72fa9c 100644 --- a/Open-ILS/web/templates/default/acq/picklist/list.tt2 +++ b/Open-ILS/web/templates/default/acq/picklist/list.tt2 @@ -31,6 +31,7 @@ } } +
@@ -85,7 +86,6 @@
-
@@ -111,7 +111,8 @@
-