mirror of https://github.com/xwiki-labs/cryptpad
Fix 'empty drive' button in anon drives
This commit is contained in:
parent
21d3108ad5
commit
33818cdc93
|
@ -257,7 +257,7 @@ define([
|
|||
icon: 'fa-ban',
|
||||
tippy: Messages.fm_burnThisDriveButton,
|
||||
drawer: false
|
||||
}).click(function () {
|
||||
}, function () {
|
||||
UI.confirm(Messages.fm_burnThisDrive, function (yes) {
|
||||
if (!yes) { return; }
|
||||
common.getSframeChannel().event('EV_BURN_ANON_DRIVE');
|
||||
|
|
Loading…
Reference in New Issue