mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
FIX: Navigating to a new topic after editing one was leaving edit controls open.
This commit is contained in:
parent
90fef936dc
commit
07328e5e4b
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ Discourse.TopicRoute = Discourse.Route.extend({
|
|||
},
|
||||
|
||||
setupController: function(controller, model) {
|
||||
controller.set('model', model);
|
||||
controller.setProperties({
|
||||
model: model,
|
||||
editingTopic: false
|
||||
});
|
||||
|
||||
this.controllerFor('header').setProperties({
|
||||
topic: model,
|
||||
|
|
Loading…
Reference in a new issue