mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Advanced Search: Links n:1
SVN:b1162[5450]
This commit is contained in:
@@ -316,6 +316,7 @@ try
|
||||
case 'selectObjectsToAdd':
|
||||
$oPage->SetContentType('text/html');
|
||||
$sClass = utils::ReadParam('class', '', false, 'class');
|
||||
$aAlreadyLinked = utils::ReadParam('aAlreadyLinked', array());
|
||||
$sJson = utils::ReadParam('json', '', false, 'raw_data');
|
||||
$oObj = null;
|
||||
if ($sJson != '')
|
||||
@@ -329,7 +330,7 @@ try
|
||||
$iCurrObjectId = utils::ReadParam('iObjId', 0);
|
||||
$oPage->SetContentType('text/html');
|
||||
$oWidget = new UILinksWidgetDirect($sClass, $sAttCode, $iInputId);
|
||||
$oWidget->GetObjectsSelectionDlg($oPage, $oObj);
|
||||
$oWidget->GetObjectsSelectionDlg($oPage, $oObj, $aAlreadyLinked);
|
||||
break;
|
||||
|
||||
// ui.linksdirectwidget
|
||||
|
||||
Reference in New Issue
Block a user