Commit 39e79497 authored by Sven Franck's avatar Sven Franck

debug: panel

parent 6634ec34
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
"property_dict": { "property_dict": {
"id": "global-menu", "id": "global-menu",
"theme": "slapos-white", "theme": "slapos-white",
"position": "right" "position": "left"
}, },
"children": [{ "children": [{
"type": "a", "type": "a",
......
...@@ -6799,6 +6799,8 @@ ...@@ -6799,6 +6799,8 @@
last = document.body.lastChild; last = document.body.lastChild;
if (util.testForString("ui-footer", last.className)) { if (util.testForString("ui-footer", last.className)) {
document.body.insertBefore(wrapper.fragment, last); document.body.insertBefore(wrapper.fragment, last);
} else if (content.querySelector("div.panel")) {
document.body.insertBefore(content, last);
} else { } else {
document.body.insertBefore( document.body.insertBefore(
content, content,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment