mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixes incomplete tags showing when switching to edit a different post
closes #3065 - send 'reset' action to PostTagsInputController when associated view is destroyed
This commit is contained in:
parent
f9f7201f5a
commit
dc73235232
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ var PostTagsInputView = Ember.View.extend({
|
||||||
this.get('controller').send('loadAllTags');
|
this.get('controller').send('loadAllTags');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
willDestroyElement: function () {
|
||||||
|
this.get('controller').send('reset');
|
||||||
|
},
|
||||||
|
|
||||||
overlayStyles: function () {
|
overlayStyles: function () {
|
||||||
var styles = [],
|
var styles = [],
|
||||||
leftPos;
|
leftPos;
|
||||||
|
|
Loading…
Add table
Reference in a new issue