-Roo.Document = function(cfg) {
-
- this.addEvents({
- 'ready' : true,
- 'beforeload' : true, // fired after page ready, before module building.
- 'load' : true, // fired after module building
- 'authrefreshed' : true // fire on auth updated?? - should be on Login?!?!?
-
- });
- this.modules = [];
- Roo.util.Observable.call(this,cfg);
- var _this = this;
- Roo.onReady(function() {
- _this.fireEvent('ready');
- },null,false);
-
- this.on('ready', onReady, this);
- this.on('load', onLoad, this);
-