summaryrefslogtreecommitdiffstats
path: root/public/javascripts/context_menu.js
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-29 10:43:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-29 10:43:33 +0000
commit7eec539222731f5b3fca40d6dbaae8f00f01feba (patch)
treec88b418990f79f64c7713fa3f0a210e090172d14 /public/javascripts/context_menu.js
parent7f3c5169400f23563bc9667e209e64a5ce756619 (diff)
downloadredmine-7eec539222731f5b3fca40d6dbaae8f00f01feba.tar.gz
redmine-7eec539222731f5b3fca40d6dbaae8f00f01feba.zip
Fixed r1024: context submenus on the issue list don’t show up with IE6.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1025 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/context_menu.js')
-rw-r--r--public/javascripts/context_menu.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js
index 2e8108616..11754cde8 100644
--- a/public/javascripts/context_menu.js
+++ b/public/javascripts/context_menu.js
@@ -39,6 +39,9 @@ ContextMenu.prototype = {
this.selection = tr;
var id = tr.id.substring(6, tr.id.length);
/* TODO: do not hard code path */
- new Ajax.Updater({success:'context-menu'}, '../../issues/context_menu/' + id, {asynchronous:true, evalScripts:true, onComplete:function(request){Effect.Appear('context-menu', {duration: 0.20})}})
+ new Ajax.Updater({success:'context-menu'}, '../../issues/context_menu/' + id, {asynchronous:true, evalScripts:true, onComplete:function(request){
+ Effect.Appear('context-menu', {duration: 0.20});
+ if (window.parseStylesheets) { window.parseStylesheets(); }
+ }})
}
}