[open-ils-commits] r16074 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 31 16:47:04 EDT 2010
Author: erickson
Date: 2010-03-31 16:46:58 -0400 (Wed, 31 Mar 2010)
New Revision: 16074
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js
Log:
added support for progress dialog messages in the markup
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js 2010-03-31 19:44:19 UTC (rev 16073)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/ProgressDialog.js 2010-03-31 20:46:58 UTC (rev 16074)
@@ -13,6 +13,7 @@
[dijit.Dialog],
{
indeterminate : false,
+ message : '',
startup : function() {
this.inherited(arguments);
@@ -34,7 +35,7 @@
this.progress.indeterminate = false;
}
- if(msg) {
+ if(msg || (msg = this.message) ) {
if(!this.msgDiv) {
this.msgDiv = dojo.create('div', {innerHTML : msg});
}
More information about the open-ils-commits
mailing list