diff --git a/core/client/views/editor-tag-widget.js b/core/client/views/editor-tag-widget.js index 17e576ab5e..9462aca4ae 100644 --- a/core/client/views/editor-tag-widget.js +++ b/core/client/views/editor-tag-widget.js @@ -32,7 +32,7 @@ self.allGhostTags = tagCollection.toJSON(); }); - this.model.on('willSave', this.completeCurrentTag, this); + this.listenTo(this.model, 'willSave', this.completeCurrentTag, this); }, render: function () { diff --git a/core/client/views/editor.js b/core/client/views/editor.js index d9aa0346aa..cdb3945911 100644 --- a/core/client/views/editor.js +++ b/core/client/views/editor.js @@ -93,7 +93,7 @@ self.updatePost(); }); this.listenTo(this.model, 'change:status', this.render); - this.model.on('change:id', function (m) { + this.listenTo(this.model, 'change:id', function (m) { Backbone.history.navigate('/editor/' + m.id + '/'); }); }, diff --git a/core/client/views/post-settings.js b/core/client/views/post-settings.js index 5f3d3a51ad..0e77418b50 100644 --- a/core/client/views/post-settings.js +++ b/core/client/views/post-settings.js @@ -17,6 +17,7 @@ initialize: function () { if (this.model) { this.listenTo(this.model, 'change:status', this.render); + this.listenTo(this.model, 'change:published_at', this.render); } },