Fixed module_details_window

This commit is contained in:
Daniel Maya 2021-09-23 10:59:24 +02:00
parent 30ab96003c
commit 3f91fda888
1 changed files with 5 additions and 0 deletions

View File

@ -305,6 +305,7 @@ class ServiceViewWidget extends Widget
$containerId = 'container_servicemap_'.$this->cellId;
$output .= "<div id='".$containerId."' class='tree-controller-recipient'>";
$output .= '</div>';
$output .= \html_print_image(
'images/spinner.gif',
@ -337,6 +338,10 @@ class ServiceViewWidget extends Widget
$settings['baseURL'] = \ui_get_full_url('/', false, false, false);
$settings['ajaxURL'] = \ui_get_full_url('ajax.php', false, false, false);
// Show the modal window of an module.
$output .= '<div id="module_details_window" class="">';
$output .= '</div>';
// Script.
$output .= '<script type="text/javascript">';
$output .= 'processServiceTree('.json_encode($settings).');';