Confirm before deleting multiple files

This commit is contained in:
Nathan Gray 2010-12-20 23:23:44 +00:00
parent f06a051533
commit 5e781b4135

View File

@ -391,6 +391,10 @@ class filemanager_ui
{ {
open_mail(ids); open_mail(ids);
} }
else if (selbox.value == 'delete')
{
if (confirm('".lang('Delete these files or directories?')."')) selbox.form.submit();
}
else else
{ {
selbox.form.submit(); selbox.form.submit();