Portal : Request template list fields now have the autocomplete option.

SVN:trunk[4351]
This commit is contained in:
Guillaume Lajarige
2016-08-25 13:52:41 +00:00
parent f33f4e3406
commit e7342b0eb8
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')