1
0
Fork 0
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:
Harvey Kandola 2019-01-15 20:14:32 +00:00
parent d281621d90
commit 1ef209b74f
3 changed files with 21 additions and 26 deletions

View file

@ -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');
}
}
});