From: Jean-Philippe Lang Date: Fri, 26 Oct 2012 03:16:15 +0000 (+0000) Subject: Merged r10715 from trunk. X-Git-Tag: 2.1.3~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a70cf2f833d79c6eb3b50165944835b16618863d;p=redmine.git Merged r10715 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10724 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/context_menus_helper.rb b/app/helpers/context_menus_helper.rb index 15e670c78..940f4ce31 100644 --- a/app/helpers/context_menus_helper.rb +++ b/app/helpers/context_menus_helper.rb @@ -26,8 +26,8 @@ module ContextMenusHelper end if options.delete(:disabled) options.delete(:method) - options.delete(:confirm) - options.delete(:onclick) + options.delete(:data) + options[:onclick] = 'return false;' options[:class] << ' disabled' url = '#' end