Skip to content

Commit 3f952d1

Browse files
author
DenysTsymbal
committed
Turn off disabled state
1 parent 61302b7 commit 3f952d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Block/Adminhtml/System/Config/Form/Featured.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function getJs() : string
2222
'Magento_Ui/js/modal/modal'
2323
], function($, alert) {
2424
$(document).ready(function(){
25-
document.getElementById('mfblog_sidebar_featured_posts_posts_ids').setAttribute('readonly', true);
25+
/*document.getElementById('mfblog_sidebar_featured_posts_posts_ids').setAttribute('readonly', true);*/
2626
2727
var ensureGridIsSet = function (timeout) {
2828
var start = Date.now();

Block/Adminhtml/Widget/Featured/Grid/Chooser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ protected function _toHtml() : string
184184
$buttons['open']
185185
)->setOnclick(
186186
$this->onClickJs($chooserId)
187-
)->setDisabled(
188-
$element->getReadonly()
187+
/* )->setDisabled(
188+
$element->getReadonly()*/
189189
);
190190
$chooser->setData('after_element_html', $hiddenHtml . $chooseButton->toHtml());
191191

0 commit comments

Comments
 (0)