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
This commit is contained in:
1 parent
12759fd416
commit
bd5fe10c13
4 files changed
+24
-12
No files matched your search
@@ -31,12 +31,6 @@
|
||||
<% end if @blocks['right'] %>
|
||||
</div>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= javascript_include_tag 'context_menu' %>
|
||||
<%= stylesheet_link_tag 'context_menu' %>
|
||||
<% end %>
|
||||
|
||||
<div id="context-menu" style="display: none;"></div>
|
||||
<%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %>
|
||||
<%= context_menu :controller => 'issues', :action => 'context_menu' %>
|
||||
|
||||
<% html_title(l(:label_my_page)) -%>
|
||||
Reference in new issue
Block a user