Skip to content

Commit bd5a012

Browse files
Fixed static build test
1 parent 5f7029d commit bd5a012

File tree

1 file changed

+0
-5
lines changed
  • app/code/Magento/Review/Block/Adminhtml

1 file changed

+0
-5
lines changed

app/code/Magento/Review/Block/Adminhtml/Add.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,20 @@ class Add extends \Magento\Backend\Block\Widget\Form\Container
2121
protected function _construct()
2222
{
2323
parent::_construct();
24-
2524
$this->_blockGroup = 'Magento_Review';
2625
$this->_controller = 'adminhtml';
2726
$this->_mode = 'add';
28-
2927
$this->buttonList->update('save', 'label', __('Save Review'));
3028
$this->buttonList->update('save', 'id', 'save_button');
31-
3229
$this->buttonList->update('reset', 'id', 'reset_button');
3330
$this->buttonList->update('reset', 'onclick', 'window.review.formReset()');
34-
3531
$this->_formScripts[] = '
3632
require(["prototype"], function(){
3733
toggleParentVis("add_review_form");
3834
toggleVis("save_button");
3935
toggleVis("reset_button");
4036
});
4137
';
42-
4338
// @codingStandardsIgnoreStart
4439
$this->_formInitScripts[] = '
4540
require(["jquery","prototype"], function(jQuery){

0 commit comments

Comments
 (0)