From bd5fe10c13b0fb15825f767f696e57bb709c1f68 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 4 Mar 2010 19:02:57 +0000 Subject: Adds an helper for creating the context menu. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3542 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/page.rhtml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'app/views/my') diff --git a/app/views/my/page.rhtml b/app/views/my/page.rhtml index 4d4c921b6..608e23326 100644 --- a/app/views/my/page.rhtml +++ b/app/views/my/page.rhtml @@ -31,12 +31,6 @@ <% end if @blocks['right'] %> -<% content_for :header_tags do %> - <%= javascript_include_tag 'context_menu' %> - <%= stylesheet_link_tag 'context_menu' %> -<% end %> - - -<%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %> +<%= context_menu :controller => 'issues', :action => 'context_menu' %> <% html_title(l(:label_my_page)) -%> -- cgit v1.2.3