servermgrv2 init...
This commit is contained in:
parent
dfa296c08e
commit
524c25fdd9
@ -110,7 +110,7 @@ function getFieldIndex_Row_BoardConfigHelper($field, $entity, array $fieldFilter
|
|||||||
default:
|
default:
|
||||||
if (in_array($field, $fieldFilters)) {
|
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);
|
$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);
|
return getFieldView_BoardConfigHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -127,7 +127,7 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $fieldFilters, $fi
|
|||||||
default:
|
default:
|
||||||
if (in_array($field, $fieldFilters)) {
|
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);
|
$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);
|
return getFieldView_BoardHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -100,7 +100,7 @@ function getFieldIndex_Row_UserSNSHelper($field, $entity, array $fieldFilters, $
|
|||||||
default:
|
default:
|
||||||
if (in_array($field, $fieldFilters)) {
|
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);
|
$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);
|
return getFieldView_UserSNSHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -106,7 +106,7 @@ function getFieldIndex_Row_UserHelper($field, $entity, array $fieldFilters, $fie
|
|||||||
default:
|
default:
|
||||||
if (in_array($field, $fieldFilters)) {
|
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);
|
$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);
|
return getFieldView_UserHelper($field, $entity, $fieldFormOptions, $attributes);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user