From 36017c4341bca928bbd198329992101e53439f8e Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 31 Mar 2010 20:46:58 +0000 Subject: [PATCH] added support for progress dialog messages in the markup git-svn-id: svn://svn.open-ils.org/ILS/trunk@16074 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js b/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js index 9b344d15f..887fe0467 100644 --- a/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js +++ b/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js @@ -13,6 +13,7 @@ if(!dojo._hasResource['openils.widget.ProgressDialog']) { [dijit.Dialog], { indeterminate : false, + message : '', startup : function() { this.inherited(arguments); @@ -34,7 +35,7 @@ if(!dojo._hasResource['openils.widget.ProgressDialog']) { this.progress.indeterminate = false; } - if(msg) { + if(msg || (msg = this.message) ) { if(!this.msgDiv) { this.msgDiv = dojo.create('div', {innerHTML : msg}); } -- 2.11.0