Skip to content

Commit 4223049

Browse files
ENGCOM-1390: [2.3-develop] Forwardport of #11539 #114
- Merge Pull Request magento-engcom-team/magento2ce#114 from magento-engcom-team/magento2ce:forwardport-2.3-develop-magento-magento2-11539 - Merged commits: 1. da5692c 2. 9775cd8 3. e10a3ff
2 parents 18a7e29 + e10a3ff commit 4223049

File tree

1 file changed

+3
-17
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab

1 file changed

+3
-17
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -184,33 +184,19 @@ protected function _prepareForm()
184184
'form_after',
185185
$this->getLayout()->createBlock(
186186
\Magento\Backend\Block\Widget\Form\Element\Dependence::class
187-
)->addFieldMap(
188-
"is_wysiwyg_enabled",
189-
'wysiwyg_enabled'
190187
)->addFieldMap(
191188
"is_html_allowed_on_front",
192189
'html_allowed_on_front'
193190
)->addFieldMap(
194191
"frontend_input",
195192
'frontend_input_type'
196-
)->addFieldDependence(
197-
'wysiwyg_enabled',
198-
'frontend_input_type',
199-
'textarea'
200-
)->addFieldDependence(
201-
'html_allowed_on_front',
202-
'wysiwyg_enabled',
203-
'0'
204-
)
205-
->addFieldMap(
193+
)->addFieldMap(
206194
"is_searchable",
207195
'searchable'
208-
)
209-
->addFieldMap(
196+
)->addFieldMap(
210197
"is_visible_in_advanced_search",
211198
'advanced_search'
212-
)
213-
->addFieldDependence(
199+
)->addFieldDependence(
214200
'advanced_search',
215201
'searchable',
216202
'1'

0 commit comments

Comments
 (0)