mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
commit
8da76215ed
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ var onChangeHandler = function (cm, changeObj) {
|
|||
cm.component.set('value', cm.getValue());
|
||||
|
||||
// Send an action notifying a 5 second pause in typing/changes.
|
||||
Ember.run.debounce(component, 'sendAction', 'typingPause', 5000);
|
||||
Ember.run.debounce(component, 'sendAction', 'typingPause', 3000);
|
||||
};
|
||||
|
||||
var onScrollHandler = function (cm) {
|
||||
|
|
|
@ -212,7 +212,7 @@ var EditorControllerMixin = Ember.Mixin.create(MarkerManager, {
|
|||
}
|
||||
this.set('title', this.get('titleScratch'));
|
||||
|
||||
return this.get('model').save().then(function (model) {
|
||||
return this.get('model').save(options).then(function (model) {
|
||||
if (!options.silent) {
|
||||
self.showSaveNotification(prevStatus, model.get('status'), isNew ? true : false);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue