mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Advanced Search: Auto-complete search on foreign keys + refactoring of table_id2
SVN:b1162[5593]
This commit is contained in:
@@ -333,8 +333,8 @@ class UILinksWidgetDirect
|
||||
$sHtml .= $oBlock->GetDisplay($oPage, "SearchFormToAdd_{$this->sInputid}",
|
||||
array(
|
||||
'open' => $bOpen,
|
||||
'table_id' => "SearchResultsToAdd_{$this->sInputid}",
|
||||
'table_id2' => "add_{$this->sInputid}",
|
||||
'result_list_outer_selector' => "SearchResultsToAdd_{$this->sInputid}",
|
||||
'table_id' => "add_{$this->sInputid}",
|
||||
'table_inner_id' => "ResultsToAdd_{$this->sInputid}",
|
||||
'cssCount' => "#count_{$this->sInputid}",
|
||||
'query_params' => $oFilter->GetInternalParams(),
|
||||
|
||||
@@ -420,8 +420,8 @@ EOF
|
||||
array(
|
||||
'open' => $bOpen,
|
||||
'menu' => false,
|
||||
'table_id' => "SearchResultsToAdd_{$this->m_sAttCode}{$this->m_sNameSuffix}",
|
||||
'table_id2' => 'add_'.$this->m_sAttCode,
|
||||
'result_list_outer_selector' => "SearchResultsToAdd_{$this->m_sAttCode}{$this->m_sNameSuffix}",
|
||||
'table_id' => 'add_'.$this->m_sAttCode,
|
||||
'table_inner_id' => "ResultsToAdd_{$this->m_sAttCode}{$this->m_sNameSuffix}",
|
||||
'selection_mode' => true,
|
||||
'json' => $sJson,
|
||||
|
||||
@@ -53,8 +53,8 @@ class UISearchFormForeignKeys
|
||||
array(
|
||||
'open' => $bOpen,
|
||||
'menu' => false,
|
||||
'table_id' => "SearchResultsToAdd_{$this->m_iInputId}",
|
||||
'table_id2' => "add_{$this->m_iInputId}",
|
||||
'result_list_outer_selector' => "SearchResultsToAdd_{$this->m_iInputId}",
|
||||
'table_id' => "add_{$this->m_iInputId}",
|
||||
'table_inner_id' => "ResultsToAdd_{$this->m_iInputId}",
|
||||
'selection_mode' => true,
|
||||
'cssCount' => '#count_'.$this->m_sAttCode.$this->m_sNameSuffix,
|
||||
|
||||
Reference in New Issue
Block a user