mirror of
https://github.com/HeyPuter/puter.git
synced 2026-04-24 08:20:16 -05:00
adding ability to undo create file/folder action
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user