{"action":"closed","issue":{"number":3251,"created_at":"2011-10-08T06:52:32Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi,\r\n\r\n```<%= link_to_function raw('<span class=\"icon-32-delete\"></span>Löschen'), \"jQuery('#multi_destroy').submit();\", :confirm => 'Are you sure?' %>```\r\ngenerates a link which results to html tag :\r\n```<a onclick=\"jQuery('#multi_destroy').submit();; return false;\" href=\"#\" data-confirm=\"Are you sure?\"><span class=\"icon-32-delete\"></span>Löschen</a>\r\n```\r\n\r\n\r\nWhen clicking the link the window with \"Are you sure?\" is auto-confirmed after 1 second and executes\r\n\"jQuery('#multi_destroy').submit();\"","comments":2,"title":"link_to_function :confirm => 'Are you sure?' automaticaly skip confirmation","updated_at":"2011-10-08T12:59:33Z","url":"https://api.github.com/repos/rails/rails/issues/3251","id":1851397,"assignee":null,"milestone":null,"closed_at":"2011-10-08T12:59:33Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/9449890b97b727c11a8491936ec3f801?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/PsychoPhobic","id":231924,"login":"PsychoPhobic"},"html_url":"https://github.com/rails/rails/issues/3251","labels":[],"state":"closed"},"legacy":{"number":3251,"action":"closed","issue":1851397}}