Merge branch 'ent-5659-ventana-modal-de-la-vista-de-mapa-discovery-task-se-va' into 'develop'
fixed error with dialog task list See merge request artica/pandorafms!3139
This commit is contained in:
commit
bcaf37c60c
|
@ -472,7 +472,7 @@ class DiscoveryTaskList extends Wizard
|
|||
// Name task.
|
||||
$data[1] = '';
|
||||
if ($task['disabled'] != 2) {
|
||||
$data[1] .= '<a href="#" onclick="progress_task_list('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||
$data[1] .= '<a onclick="progress_task_list('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||
}
|
||||
|
||||
$data[1] .= '<b>'.$task['name'].'</b>';
|
||||
|
@ -623,7 +623,7 @@ class DiscoveryTaskList extends Wizard
|
|||
&& $task['type'] != DISCOVERY_CLOUD_AWS_RDS
|
||||
) {
|
||||
if (check_acl($config['id_user'], 0, 'MR')) {
|
||||
$data[9] .= '<a href="#" onclick="show_map('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||
$data[9] .= '<a onclick="show_map('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||
$data[9] .= html_print_image(
|
||||
'images/dynamic_network_icon.png',
|
||||
true
|
||||
|
|
|
@ -77,6 +77,7 @@ function fetchTaskList(id, callback) {
|
|||
}
|
||||
|
||||
function show_map(id, name) {
|
||||
var myPos = ["center" / 2, 1];
|
||||
$("#map_task")
|
||||
.empty()
|
||||
.hide()
|
||||
|
@ -86,8 +87,9 @@ function show_map(id, name) {
|
|||
resizable: true,
|
||||
draggable: true,
|
||||
modal: false,
|
||||
width: 1280,
|
||||
height: 700
|
||||
width: 900,
|
||||
height: 550,
|
||||
position: { my: "center", at: "center", of: window }
|
||||
})
|
||||
.show();
|
||||
|
||||
|
|
Loading…
Reference in New Issue