mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
uridec alerts
This commit is contained in:
parent
0a25a88a34
commit
4c7a2a7ec3
|
@ -1627,12 +1627,12 @@ var fileman = (function () {
|
|||
}
|
||||
|
||||
if (exists.length)
|
||||
alert('these ' + exists.length + ' items cannot be pasted here (names already exist):\n\n' + exists.join('\n'));
|
||||
alert('these ' + exists.length + ' items cannot be pasted here (names already exist):\n\n' + uricom_adec(exists).join('\n'));
|
||||
|
||||
if (!req.length)
|
||||
return;
|
||||
|
||||
if (!confirm('paste these ' + req.length + ' items here?\n\n' + req.join('\n')))
|
||||
if (!confirm('paste these ' + req.length + ' items here?\n\n' + uricom_adec(req).join('\n')))
|
||||
return;
|
||||
|
||||
function paster() {
|
||||
|
|
|
@ -398,6 +398,15 @@ function uricom_dec(txt) {
|
|||
}
|
||||
|
||||
|
||||
function uricom_adec(arr) {
|
||||
ret = [];
|
||||
for (var a = 0; a < arr.length; a++)
|
||||
ret[a] = uricom_dec(arr[a])[0];
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
function get_evpath() {
|
||||
var ret = document.location.pathname;
|
||||
|
||||
|
|
Loading…
Reference in a new issue