From: Jean-Philippe Lang Date: Sat, 29 Dec 2007 10:43:33 +0000 (+0000) Subject: Fixed r1024: context submenus on the issue list don’t show up with IE6. X-Git-Tag: 0.7.0-RC1~251 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7eec539222731f5b3fca40d6dbaae8f00f01feba;p=redmine.git 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 --- 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(); } + }}) } }