0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00

Merge pull request #2981 from jaswilli/fix-observer

Fix removeObserver for title property
This commit is contained in:
Hannah Wolfe 2014-06-17 21:56:08 +01:00
commit 11ab89951b

View file

@ -122,7 +122,7 @@ var PostSettingsMenuController = Ember.ObjectController.extend({
self.set('slug', serverSlug);
if (self.hasObserverFor('title')) {
self.removeObserver('title', this, 'titleObserver');
self.removeObserver('title', self, 'titleObserver');
}
// If this is a new post. Don't save the model. Defer the save