From 7b974e7e0bc69d64d773a78fb31ada512fcad590 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sat, 3 Sep 2011 17:40:24 +0000 Subject: [PATCH] * i2psnark: Fix "eject" button in certain browsers (ticket #511) (fixed on 12/29/10, accidentally reverted in 12/30/10 propagate) --- apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java index 31da3a451d..1edc4d4a36 100644 --- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java +++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java @@ -978,7 +978,7 @@ public class I2PSnarkServlet extends Default { if (noThinsp) out.write("<a href=\"/i2psnark/?action=Remove_" + b64 + "&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. -- GitLab