Commit 9f30bd1f authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

FileManager: updated message of delete confirmation

parent 0124ca7f
......@@ -119,7 +119,11 @@ define([
var it = this.items(info);
var cb = run.bind(this, $.extend(true, {}, info, {confimed: true}));
info.view.confirm(
"Do you really want to delete " + it.length + " items?",
"Do you really want to delete " + (
it.length > 1 ?
it.length + " items" :
"\"" + it[0].name + "\""
) + "?",
function (ok) {
if (ok) cb();
}, {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment