]> source.dussan.org Git - redmine.git/commitdiff
Fixed r1024: context submenus on the issue list don’t show up with IE6.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Dec 2007 10:43:33 +0000 (10:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Dec 2007 10:43:33 +0000 (10:43 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1025 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/context_menu.js

index 2e81086168b89c2adf5226898370ee4b78fb3a51..11754cde840937f5a0565a1f5c84b4ce5e300e19 100644 (file)
@@ -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(); }
+               }})             
        }
 }