mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 15:24:00 +01:00
Don't ask the user for any confirmation if there is nothing to delete. This could occur when you select something, delete it, then try to delete again. We need to also strip trailing slashes for deleting files when updating the file manager. This is much like what we needed to do with adding files to the root of the file manager. Locations should end without a trailing slash, but a root is a trailing slash as its only char. A regex here solves the issue.