summaryrefslogtreecommitdiffstats
path: root/app/views/my
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-24 15:16:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-24 15:16:04 +0000
commitacad206063c159fa9eec62e12104c065c5424d78 (patch)
tree9527bf3ba4aa774c8845376d8607223c7fc586db /app/views/my
parentf80f04e379a8e0eef1bd72432c6a252d3559a9c6 (diff)
downloadredmine-acad206063c159fa9eec62e12104c065c5424d78.tar.gz
redmine-acad206063c159fa9eec62e12104c065c5424d78.zip
Issue context menu now also available on 'My page'.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@929 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r--app/views/my/page.rhtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/my/page.rhtml b/app/views/my/page.rhtml
index 5c6c906db..89d11ddea 100644
--- a/app/views/my/page.rhtml
+++ b/app/views/my/page.rhtml
@@ -31,3 +31,10 @@
<% 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({})' %>