0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fix removeObserver for title property

This commit is contained in:
Jason Williams 2014-06-17 15:47:03 +00:00
parent 063b2ea89c
commit e4a5906f70

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