@@ -52,8 +52,8 @@ |
||
| 52 | 52 | <li> |
| 53 | 53 | <a href="<?= $field->compileURL('delete'); ?>" class="dropdown-item action-delete" |
| 54 | 54 | onclick="return confirm('<?= translator()->trans( |
| 55 | - 'general.messages.confirm' |
|
| 56 | - ); ?>');"> |
|
| 55 | + 'general.messages.confirm' |
|
| 56 | + ); ?>');"> |
|
| 57 | 57 | <i class="far fa-trash-alt"></i> |
| 58 | 58 | <?= translator()->trans('delete'); ?> |
| 59 | 59 | </a> |
@@ -109,18 +109,18 @@ |
||
| 109 | 109 | public function populateFromSibling($sibling) |
| 110 | 110 | { |
| 111 | 111 | foreach ([ |
| 112 | - 'role', |
|
| 113 | - 'label', |
|
| 114 | - 'label_intern', |
|
| 115 | - 'help', |
|
| 116 | - 'options', |
|
| 117 | - 'type', |
|
| 118 | - 'listing', |
|
| 119 | - 'visible', |
|
| 120 | - 'mandatory', |
|
| 121 | - 'filter', |
|
| 122 | - 'pos', |
|
| 123 | - ] as $col) { |
|
| 112 | + 'role', |
|
| 113 | + 'label', |
|
| 114 | + 'label_intern', |
|
| 115 | + 'help', |
|
| 116 | + 'options', |
|
| 117 | + 'type', |
|
| 118 | + 'listing', |
|
| 119 | + 'visible', |
|
| 120 | + 'mandatory', |
|
| 121 | + 'filter', |
|
| 122 | + 'pos', |
|
| 123 | + ] as $col) { |
|
| 124 | 124 | $this->setPropertyValue($col, $sibling->getPropertyRaw($col)); |
| 125 | 125 | } |
| 126 | 126 | $this->initOptions(); |