0
Fork 0
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:
Kevin Ansfield 2014-06-24 15:04:32 +02:00
parent f9f7201f5a
commit dc73235232

View file

@ -22,6 +22,10 @@ var PostTagsInputView = Ember.View.extend({
this.get('controller').send('loadAllTags');
},
willDestroyElement: function () {
this.get('controller').send('reset');
},
overlayStyles: function () {
var styles = [],
leftPos;