BUGFIX: progress bar was hidden when the composer was open

This commit is contained in:
Régis Hanol
2014-06-04 13:03:14 +02:00
parent fc8eef6d98
commit 7655066967
10 changed files with 77 additions and 57 deletions

View File

@ -61,7 +61,8 @@ export default Discourse.Controller.extend({
},
updateDraftStatus: function() {
this.get('model').updateDraftStatus();
var c = this.get('model');
if (c) { c.updateDraftStatus(); }
},
appendText: function(text) {