mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fixed the "Relationships" Flash navigator so that it works also on Safari. (tested with Safari 5.0.2 on Windows)
SVN:trunk[926]
This commit is contained in:
@@ -1424,8 +1424,6 @@ EOF
|
||||
$oP->add("<div id=\"impacted_objects\" style=\"width:100%;background-color:#fff;padding:10px;\"><p style=\"height:150px;\"> </p></div>");
|
||||
$oP->add_ready_script(
|
||||
<<<EOF
|
||||
UpdateImpactedObjects('$sClass', $id, '$sRelation');
|
||||
|
||||
var ajax_request = null;
|
||||
|
||||
function UpdateImpactedObjects(sClass, iId, sRelation)
|
||||
@@ -1443,7 +1441,7 @@ EOF
|
||||
ajax_request = null;
|
||||
}
|
||||
|
||||
ajax_request = $.get('xml.navigator.php', { class: sClass, id: iId, relation: sRelation, format: 'html' },
|
||||
ajax_request = $.get('xml.navigator.php', { 'class': sClass, id: iId, relation: sRelation, format: 'html' },
|
||||
function(data)
|
||||
{
|
||||
$('#impacted_objects').empty();
|
||||
@@ -1455,6 +1453,8 @@ EOF
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
UpdateImpactedObjects('$sClass', $id, '$sRelation');
|
||||
EOF
|
||||
);
|
||||
$oP->SetCurrentTab('');
|
||||
|
||||
Reference in New Issue
Block a user