servermgrv2 init...

This commit is contained in:
최준흠git config git config --helpgit config --global user.name 최준흠 2023-07-30 15:09:30 +09:00
parent dfa296c08e
commit 524c25fdd9
4 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ function getFieldIndex_Row_BoardConfigHelper($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_BoardConfigHelper($field, $entity->$field, $fieldFormOptions, $attributes);
return getFieldFilter_BoardConfigHelper($field, $entity->$field, $fieldFormOptions, [...$attributes, 'style' => 'width:100%']);
}
return getFieldView_BoardConfigHelper($field, $entity, $fieldFormOptions, $attributes);
break;

View File

@ -127,7 +127,7 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $fieldFilters, $fi
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 getFieldFilter_BoardHelper($field, $entity->$field, $fieldFormOptions, [...$attributes, 'style' => 'width:100%']);
}
return getFieldView_BoardHelper($field, $entity, $fieldFormOptions, $attributes);
break;

View File

@ -100,7 +100,7 @@ function getFieldIndex_Row_UserSNSHelper($field, $entity, array $fieldFilters, $
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 getFieldFilter_UserSNSHelper($field, $entity->$field, $fieldFormOptions, [...$attributes, 'style' => 'width:100%']);
}
return getFieldView_UserSNSHelper($field, $entity, $fieldFormOptions, $attributes);
break;

View File

@ -106,7 +106,7 @@ function getFieldIndex_Row_UserHelper($field, $entity, array $fieldFilters, $fie
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_UserHelper($field, $entity->$field, $fieldFormOptions, $attributes);
return getFieldFilter_UserHelper($field, $entity->$field, $fieldFormOptions, [...$attributes, 'style' => 'width:100%']);
}
return getFieldView_UserHelper($field, $entity, $fieldFormOptions, $attributes);
break;