Skip to content

Commit

Permalink
Superficial Booter updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Spencer committed Aug 20, 2009
1 parent 7293d94 commit 8c3bd36
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext-mvc-all-min.js

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion ext-mvc-all.js
Expand Up @@ -1284,11 +1284,19 @@ ExtMVC.lib.Booter = Ext.extend(Ext.util.Observable, {
id: 'loading',
cn: [{
cls: 'loading-indicator',
html: 'Loading...'
html: this.getLoadingMaskMessage()
}]
});
},

/**
* Returns the loading mask message string. Override this to provide your own
* @return {String} The message to place inside the loading mask (defaults to "Loading...")
*/
getLoadingMaskMessage: function() {
return "Loading...";
},

/**
* Fades out the loading mask (called after bootup is complete)
*/
Expand Down
10 changes: 9 additions & 1 deletion lib/Booter.js
Expand Up @@ -206,11 +206,19 @@ ExtMVC.lib.Booter = Ext.extend(Ext.util.Observable, {
id: 'loading',
cn: [{
cls: 'loading-indicator',
html: 'Loading...'
html: this.getLoadingMaskMessage()
}]
});
},

/**
* Returns the loading mask message string. Override this to provide your own
* @return {String} The message to place inside the loading mask (defaults to "Loading...")
*/
getLoadingMaskMessage: function() {
return "Loading...";
},

/**
* Fades out the loading mask (called after bootup is complete)
*/
Expand Down

0 comments on commit 8c3bd36

Please sign in to comment.