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 --- public/javascripts/context_menu.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'public/javascripts/context_menu.js') diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index dac5076e2..bd3b72618 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -7,7 +7,8 @@ ContextMenu = Class.create(); ContextMenu.prototype = { initialize: function (url) { this.url = url; - + this.createMenu(); + // prevent text selection in the issue list var tables = $$('table.issues'); for (i=0; i