File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
app/code/Magento/Backend/Block/System/Store/Edit/Form Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form)
59
59
$ storeModel ->setData ($ postData ['store ' ]);
60
60
}
61
61
$ fieldset = $ form ->addFieldset ('store_fieldset ' , ['legend ' => __ ('Store View Information ' )]);
62
-
63
62
$ storeAction = $ this ->_coreRegistry ->registry ('store_action ' );
64
63
if ($ storeAction == 'edit ' || $ storeAction == 'add ' ) {
65
64
$ fieldset ->addField (
@@ -76,7 +75,6 @@ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form)
76
75
);
77
76
$ fieldset = $ this ->prepareGroupIdField ($ form , $ storeModel , $ fieldset );
78
77
}
79
-
80
78
$ fieldset ->addField (
81
79
'store_name ' ,
82
80
'text ' ,
@@ -99,7 +97,6 @@ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form)
99
97
'disabled ' => $ storeModel ->isReadOnly ()
100
98
]
101
99
);
102
-
103
100
$ isDisabledStatusField = $ storeModel ->isReadOnly ()
104
101
|| ($ storeModel ->getId () && $ storeModel ->isDefault () && $ storeModel ->isActive ());
105
102
$ fieldset ->addField (
@@ -124,7 +121,6 @@ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form)
124
121
]
125
122
);
126
123
}
127
-
128
124
$ fieldset ->addField (
129
125
'store_sort_order ' ,
130
126
'text ' ,
@@ -136,13 +132,11 @@ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form)
136
132
'disabled ' => $ storeModel ->isReadOnly ()
137
133
]
138
134
);
139
-
140
135
$ fieldset ->addField (
141
136
'store_is_default ' ,
142
137
'hidden ' ,
143
138
['name ' => 'store[is_default] ' , 'no_span ' => true , 'value ' => $ storeModel ->getIsDefault ()]
144
139
);
145
-
146
140
$ fieldset ->addField (
147
141
'store_store_id ' ,
148
142
'hidden ' ,
You can’t perform that action at this time.
0 commit comments