mirror of
https://github.com/redmine/redmine.git
synced 2026-02-16 11:37:42 +01:00
Move #context-menu from #content to body to fix mispositioning when #content is relatively positioned by themes (#25114).
Patch by Serge Galanin (user:galanin). git-svn-id: https://svn.redmine.org/redmine/trunk@24417 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -91,7 +91,7 @@ function contextMenuCreate() {
|
||||
var menu = document.createElement("div");
|
||||
menu.setAttribute("id", "context-menu");
|
||||
menu.setAttribute("style", "display:none;");
|
||||
document.getElementById("content").appendChild(menu);
|
||||
document.getElementsByTagName("body")[0].appendChild(menu);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user