diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 14:36:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 14:36:49 +0000 |
commit | 7b40767428ac5c04ba80d95c7c90b049c73c7f36 (patch) | |
tree | 641733a4a56afead53aba5da5faba801d84c2c13 /app/views/context_menus | |
parent | 56666a41b82d98a773d93dd8fa903a4d702b07ec (diff) | |
download | redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.tar.gz redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.zip |
Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/context_menus')
-rw-r--r-- | app/views/context_menus/issues.html.erb | 2 | ||||
-rw-r--r-- | app/views/context_menus/time_entries.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index 75b0a7652..f90cbf0e5 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -136,7 +136,7 @@ :class => 'icon-copy', :disabled => !@can[:move] %></li> <% end %> <li><%= context_menu_link l(:button_delete), issues_path(:ids => @issues.collect(&:id), :back_url => @back), - :method => :delete, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li> + :method => :delete, :data => {:confirm => issues_destroy_confirmation_message(@issues)}, :class => 'icon-del', :disabled => !@can[:delete] %></li> <%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %> </ul> diff --git a/app/views/context_menus/time_entries.html.erb b/app/views/context_menus/time_entries.html.erb index 43e31145e..10dbcafd2 100644 --- a/app/views/context_menus/time_entries.html.erb +++ b/app/views/context_menus/time_entries.html.erb @@ -28,6 +28,6 @@ <li> <%= context_menu_link l(:button_delete), {:controller => 'timelog', :action => 'destroy', :ids => @time_entries.collect(&:id), :back_url => @back}, - :method => :delete, :confirm => l(:text_time_entries_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %> + :method => :delete, :data => {:confirm => l(:text_time_entries_destroy_confirmation)}, :class => 'icon-del', :disabled => !@can[:delete] %> </li> </ul> |