adding ability to undo create file/folder action

This commit is contained in:
vineethvk11
2024-03-10 19:48:17 +05:30
parent 03d3ddbfa9
commit a18ec1efdb
5 changed files with 58 additions and 1 deletions
+8
View File
@@ -1677,6 +1677,14 @@ window.initgui = async function(){
}
return false;
}
//-----------------------------------------------------------------------------
// Undo
// ctrl/command + z, will undo last action
//-----------------------------------------------------------------------------
if((e.ctrlKey || e.metaKey) && e.which === 90){
undo_last_action();
return false;
}
});
$(document).on('click', '.remove-permission-link', async function(e){