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:
commit
11ab89951b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue