servermgrv2 init...
This commit is contained in:
parent
4b917834ef
commit
f3f4b8249c
@ -119,7 +119,7 @@ function getFieldIndex_Row_BoardConfigHelper_Admin($field, $entity, array $field
|
||||
default:
|
||||
if (in_array($field, $fieldFilters)) {
|
||||
$attributes["onChange"] = sprintf('location.href="%s/toggle/%s/%s?%s="+this.options[this.selectedIndex].value', current_url(), $entity->getPrimaryKey(), $field, $field);
|
||||
return getFieldFilter_BoardConfigHelper($field, $entity->$field, $fieldFormOptions, $attributes);
|
||||
return getFieldForm_BoardConfigHelper($field, $entity->$field, $fieldFormOptions, $attributes);
|
||||
}
|
||||
return getFieldIndex_Row_BoardConfigHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||
break;
|
||||
|
||||
@ -131,7 +131,7 @@ function getFieldIndex_Row_BoardHelper_Admin($field, $entity, array $fieldFilter
|
||||
default:
|
||||
if (in_array($field, $fieldFilters)) {
|
||||
$attributes["onChange"] = sprintf('location.href="%s/toggle/%s/%s?%s="+this.options[this.selectedIndex].value', current_url(), $entity->getPrimaryKey(), $field, $field);
|
||||
return getFieldFilter_BoardHelper($field, $entity->$field, $fieldFormOptions, $attributes);
|
||||
return getFieldForm_BoardHelper($field, $entity->$field, $fieldFormOptions, $attributes);
|
||||
}
|
||||
return getFieldIndex_Row_BoardHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||
break;
|
||||
|
||||
@ -104,7 +104,7 @@ function getFieldIndex_Row_UserSNSHelper_Admin($field, $entity, array $fieldFilt
|
||||
default:
|
||||
if (in_array($field, $fieldFilters)) {
|
||||
$attributes["onChange"] = sprintf('location.href="%s/toggle/%s/%s?%s="+this.options[this.selectedIndex].value', current_url(), $entity->getPrimaryKey(), $field, $field);
|
||||
return getFieldFilter_UserSNSHelper($field, $entity->$field, $fieldFormOptions, $attributes);
|
||||
return getFieldForm_UserSNSHelper($field, $entity->$field, $fieldFormOptions, $attributes);
|
||||
}
|
||||
return getFieldIndex_Row_UserSNSHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user