* i2psnark: Fix "eject" button in certain browsers (ticket #511)

(fixed on 12/29/10, accidentally reverted in 12/30/10 propagate)
This commit is contained in:
zzz
2011-09-03 17:40:24 +00:00
parent 454c7f14a0
commit 7b974e7e0b

View File

@ -978,7 +978,7 @@ public class I2PSnarkServlet extends Default {
if (noThinsp)
out.write("<a href=\"/i2psnark/?action=Remove_" + b64 + "&amp;nonce=" + _nonce + "\"><img title=\"");
else
out.write("<input type=\"image\" name=\"action\" value=\"Remove_" + b64 + "\" title=\"");
out.write("<input type=\"image\" name=\"action_Remove_" + b64 + "\" value=\"foo\" title=\"");
out.write(_("Remove the torrent from the active list, deleting the .torrent file"));
out.write("\" onclick=\"if (!confirm('");
// Can't figure out how to escape double quotes inside the onclick string.