Skip to content

Commit

Permalink
ENGCOM-1390: [2.3-develop] Forwardport of #11539 #114
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Apr 27, 2018
2 parents dfe3372 + 4223049 commit dfe1e14
Showing 1 changed file with 3 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,33 +184,19 @@ protected function _prepareForm()
'form_after',
$this->getLayout()->createBlock(
\Magento\Backend\Block\Widget\Form\Element\Dependence::class
)->addFieldMap(
"is_wysiwyg_enabled",
'wysiwyg_enabled'
)->addFieldMap(
"is_html_allowed_on_front",
'html_allowed_on_front'
)->addFieldMap(
"frontend_input",
'frontend_input_type'
)->addFieldDependence(
'wysiwyg_enabled',
'frontend_input_type',
'textarea'
)->addFieldDependence(
'html_allowed_on_front',
'wysiwyg_enabled',
'0'
)
->addFieldMap(
)->addFieldMap(
"is_searchable",
'searchable'
)
->addFieldMap(
)->addFieldMap(
"is_visible_in_advanced_search",
'advanced_search'
)
->addFieldDependence(
)->addFieldDependence(
'advanced_search',
'searchable',
'1'
Expand Down

0 comments on commit dfe1e14

Please sign in to comment.