Changeset 490 for Dev/trunk/src/client/qed-client/app/Content.js
- Timestamp:
- 03/08/14 22:51:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/app/Content.js
r443 r490 8 8 _container: null, 9 9 _previousContent: null, 10 _dirty: false, 10 11 startup: function() { 11 12 if ( this._started ) { return; } … … 32 33 } 33 34 widget.region = 'center'; 35 this._previousContent = widget; 34 36 this._container.addChild(widget); 35 this._previousContent = widget;36 37 }, 37 38 notify: function(text,type) { … … 40 41 } 41 42 this._toaster.setContent(text,type || 'message'); 43 }, 44 markDirty: function() { 45 this._dirty = true; 46 }, 47 markClean:function() { 48 this._dirty = false; 49 }, 50 isDirty: function() { 51 return this._dirty; 42 52 } 43 53 });
Note: See TracChangeset
for help on using the changeset viewer.