|
59 | 59 |
|
60 | 60 | // Palettes
|
61 | 61 | 'palettes' => [
|
62 |
| - '__selector__' => ['type', 'responseCode'], |
| 62 | + '__selector__' => ['type'], |
63 | 63 | 'default' => '{name_legend},name,type,priority,comment,inactive',
|
64 |
| - 'basic' => '{name_legend},name,type,priority,comment,inactive;{request_legend},requestHosts,requestPath,requestRequirements;{response_legend},responseCode;{examples_legend},examples', |
65 |
| - 'expert' => '{name_legend},name,type,priority,comment,inactive;{request_legend},requestHosts,requestPath,requestCondition;{response_legend},responseCode;{examples_legend},examples', |
66 |
| - ], |
67 |
| - |
68 |
| - // Subpalettes |
69 |
| - 'subpalettes' => [ |
70 |
| - 'responseCode_301' => 'conditionalResponseUri,responseUri,keepQueryParams', |
71 |
| - 'responseCode_302' => 'conditionalResponseUri,responseUri,keepQueryParams', |
72 |
| - 'responseCode_303' => 'conditionalResponseUri,responseUri,keepQueryParams', |
73 |
| - 'responseCode_307' => 'conditionalResponseUri,responseUri,keepQueryParams', |
| 64 | + 'basic' => '{name_legend},name,type,priority,comment,inactive;{request_legend},requestHosts,requestPath,requestRequirements;{response_legend},responseCode,responseUri,keepQueryParams;{examples_legend},examples', |
| 65 | + 'expert' => '{name_legend},name,type,priority,comment,inactive;{request_legend},requestHosts,requestPath,requestCondition;{response_legend},responseCode,conditionalResponseUri,responseUri,keepQueryParams;{examples_legend},examples', |
74 | 66 | ],
|
75 | 67 |
|
76 | 68 | // Fields
|
|
165 | 157 | 'flag' => DataContainer::SORT_ASC,
|
166 | 158 | 'inputType' => 'select',
|
167 | 159 | 'options_callback' => ['terminal42_url_rewrite.listener.rewrite_container', 'getResponseCodes'],
|
168 |
| - 'eval' => ['submitOnChange' => true, 'tl_class' => 'w50'], |
| 160 | + 'eval' => ['tl_class' => 'w50'], |
169 | 161 | 'sql' => ['type' => 'integer', 'unsigned' => true],
|
170 | 162 | ],
|
171 | 163 | 'conditionalResponseUri' => [
|
|
0 commit comments