Hide share modal when pad is deleted

This commit is contained in:
yflory 2020-01-13 16:43:44 +01:00
parent 1e6e9fd288
commit 73af078e4a

View file

@ -4001,6 +4001,8 @@ define([
msg += Messages.errorCopy;
}
}
var sframeChan = common.getSframeChannel();
sframeChan.event('EV_SHARE_OPEN', {hidden: true});
if (toolbar && typeof toolbar.deleted === "function") { toolbar.deleted(); }
UI.errorLoadingScreen(msg, true, true);
(cb || function () {})();