(Retrofit from trunk) Portal : Request template list fields now have the autocomplete option.

SVN:2.3[4367]
This commit is contained in:
Guillaume Lajarige
2016-09-02 11:59:57 +00:00
parent 471bf9e820
commit 28ead17d00
2 changed files with 41 additions and 5 deletions

View File

@@ -224,6 +224,8 @@ EOF
settings.contentType = "application/json; charset=UTF-8";
settings.data = {
sQuery: query,
sFormPath: '{$this->oField->GetFormPath()}',
sFieldId: '{$this->oField->GetId()}',
formmanager_class: $("[data-field-id='{$this->oField->GetId()}'][data-form-path='{$this->oField->GetFormPath()}']").closest('.portal_form_handler').portal_form_handler('getOptions').formmanager_class,
formmanager_data: $("[data-field-id='{$this->oField->GetId()}'][data-form-path='{$this->oField->GetFormPath()}']").closest('.portal_form_handler').portal_form_handler('getOptions').formmanager_data,
current_values: $("[data-field-id='{$this->oField->GetId()}'][data-form-path='{$this->oField->GetFormPath()}']").closest('.portal_form_handler').portal_form_handler('getCurrentValues')