mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
commit
d5d3db8eb4
@ -7,6 +7,8 @@ var DeleteAllController = Ember.Controller.extend({
|
||||
type: 'DELETE'
|
||||
}).then(function () {
|
||||
self.notifications.showSuccess('All content deleted from database.');
|
||||
self.store.unloadAll('post');
|
||||
self.store.unloadAll('tag');
|
||||
}).catch(function (response) {
|
||||
self.notifications.showErrors(response);
|
||||
});
|
||||
|
@ -8,6 +8,7 @@ var LabsController = Ember.Controller.extend(Ember.Evented, {
|
||||
formData = new FormData();
|
||||
|
||||
this.set('uploadButtonText', 'Importing');
|
||||
this.set('importErrors', '');
|
||||
this.notifications.closePassive();
|
||||
|
||||
formData.append('importfile', file);
|
||||
|
Loading…
Reference in New Issue
Block a user