Fixed the visualconsole editor in metaconsole
This commit is contained in:
parent
610f723d37
commit
ff3ce9391b
|
@ -72,7 +72,14 @@ function visual_map_main() {
|
||||||
});
|
});
|
||||||
|
|
||||||
//Resize the view to adapt the screen size.
|
//Resize the view to adapt the screen size.
|
||||||
|
if ($("#main").length) {
|
||||||
|
//Console
|
||||||
$("#frame_view").height($("#main").height() - 75);
|
$("#frame_view").height($("#main").height() - 75);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
//Metaconsole
|
||||||
|
$("#frame_view").height($("#page").height() - 75);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function cancel_button_palette_callback() {
|
function cancel_button_palette_callback() {
|
||||||
|
|
|
@ -489,7 +489,10 @@ if ($action == 'new' || $idVisualConsole === false) {
|
||||||
$buttons[$activeTab]['active'] = true;
|
$buttons[$activeTab]['active'] = true;
|
||||||
|
|
||||||
if (!defined('METACONSOLE')) {
|
if (!defined('METACONSOLE')) {
|
||||||
ui_print_page_header($visualConsoleName, "images/visual_console.png", false, "visual_console_editor_" . $activeTab . "_tab", false, $buttons);
|
ui_print_page_header($visualConsoleName,
|
||||||
|
"images/visual_console.png", false,
|
||||||
|
"visual_console_editor_" . $activeTab . "_tab", false,
|
||||||
|
$buttons);
|
||||||
}
|
}
|
||||||
|
|
||||||
//The source code for PAINT THE PAGE
|
//The source code for PAINT THE PAGE
|
||||||
|
|
Loading…
Reference in New Issue