0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fix removeObserver for title property

This commit is contained in:
Jason Williams 2014-06-17 15:47:03 +00:00
parent 7bc4d9f455
commit 38df3972c7

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