File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
app/code/Magento/Review/Block/Adminhtml Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,20 @@ class Add extends \Magento\Backend\Block\Widget\Form\Container
21
21
protected function _construct ()
22
22
{
23
23
parent ::_construct ();
24
-
25
24
$ this ->_blockGroup = 'Magento_Review ' ;
26
25
$ this ->_controller = 'adminhtml ' ;
27
26
$ this ->_mode = 'add ' ;
28
-
29
27
$ this ->buttonList ->update ('save ' , 'label ' , __ ('Save Review ' ));
30
28
$ this ->buttonList ->update ('save ' , 'id ' , 'save_button ' );
31
-
32
29
$ this ->buttonList ->update ('reset ' , 'id ' , 'reset_button ' );
33
30
$ this ->buttonList ->update ('reset ' , 'onclick ' , 'window.review.formReset() ' );
34
-
35
31
$ this ->_formScripts [] = '
36
32
require(["prototype"], function(){
37
33
toggleParentVis("add_review_form");
38
34
toggleVis("save_button");
39
35
toggleVis("reset_button");
40
36
});
41
37
' ;
42
-
43
38
// @codingStandardsIgnoreStart
44
39
$ this ->_formInitScripts [] = '
45
40
require(["jquery","prototype"], function(jQuery){
You can’t perform that action at this time.
0 commit comments