mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Change attachment deletion confirmation from modal to popover
This commit is contained in:
parent
d281621d90
commit
1ef209b74f
3 changed files with 21 additions and 26 deletions
|
@ -36,9 +36,10 @@ export default Component.extend(AuthMixin, Notifier, {
|
|||
$("#delete-space-name").removeClass("is-invalid");
|
||||
|
||||
this.get('spaceSvc').delete(this.get('space.id')).then(() => { /* jshint ignore:line */
|
||||
this.get('localStorage').clearSessionItem('folder');
|
||||
this.get('router').transitionTo('folders');
|
||||
});
|
||||
|
||||
this.get('localStorage').clearSessionItem('folder');
|
||||
this.get('router').transitionTo('folders');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue