This commit is contained in:
parent
6e8395cec6
commit
6f7f6e7eca
3 changed files with 18 additions and 18 deletions
|
@ -43,4 +43,12 @@ $(document).on('click', '.file-deletion #delete-button', function (e) {
|
|||
content = jQuery.validator.format(content, wsp.fileBrowser.getSelectedItemsCount());
|
||||
|
||||
wsp.dialogs.showConfirmDialog(title, content, buttonText, wsp.fileBrowser.deleteSelectedItems, dialogId);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$(document).click(function (event) {
|
||||
if (!$(event.target).closest('.element-container, .prevent-deselect').length) {
|
||||
wsp.fileBrowser.clearAllSelectedItems();
|
||||
wsp.fileBrowser.refreshDeletionBlock();
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue