Skip to content

Commit 95c2f75

Browse files
committed
Code improvement
1 parent 1d469f8 commit 95c2f75

File tree

6 files changed

+2
-6
lines changed

6 files changed

+2
-6
lines changed

app/code/Magento/Catalog/etc/adminhtml/system.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
<clone_fields>1</clone_fields>
104104
<clone_model>Magento\Catalog\Model\Config\CatalogClone\Media\Image</clone_model>
105105
<field id="placeholder" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
106-
<label></label>
107106
<backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
108107
<upload_dir config="system/filesystem/media" scope_info="1">catalog/product/placeholder</upload_dir>
109108
<base_url type="media" scope_info="1">catalog/product/placeholder</base_url>

app/code/Magento/Config/Test/Unit/Model/_files/system_2.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
<config_path>section/group/field4</config_path>
7777
</field>
7878
<field id="field_5" translate="label" showInWebsite="1" type="text">
79-
<label></label>
8079
</field>
8180
</group>
8281
<group id="group_4" type="text" showInDefault="1" showInWebsite="1" showInStore="1">

app/code/Magento/Paypal/etc/adminhtml/system/express_checkout.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@
198198
<attribute type="shared">1</attribute>
199199
</field>
200200
<field id="bml_wizard" translate="button_label" sortOrder="15" showInDefault="1" showInWebsite="1">
201-
<label></label>
202201
<button_label>Get Publisher ID from PayPal</button_label>
203202
<button_url><![CDATA[https:/financing.paypal.com/ppfinportal/cart/index?dcp=4eff8563b9cc505e0b9afaff3256705081553c79]]></button_url>
204203
<frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\BmlApiWizard</frontend_model>

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ define([
4747
var buttons = controlButtonArea.childElements();
4848
for (var i = 0; i < buttons.length; i++) {
4949
if (buttons[i].innerHTML.include(button.label)) {
50-
return ;
50+
return;
5151
}
5252
}
5353
button.insertIn(controlButtonArea, 'top');

dev/tests/integration/testsuite/Magento/Paypal/Model/Config/Structure/Reader/_files/expected/config.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@
767767
<attribute type="shared">1</attribute>
768768
</field>
769769
<field id="bml_wizard" translate="button_label" sortOrder="15" showInDefault="1" showInWebsite="1">
770-
<label></label>
771770
<button_label>Get Publisher ID from PayPal</button_label>
772771
<button_url><![CDATA[https:/financing.paypal.com/ppfinportal/cart/index?dcp=4eff8563b9cc505e0b9afaff3256705081553c79]]></button_url>
773772
<frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\BmlApiWizard</frontend_model>

lib/web/mage/utils/wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define([
4545
return {
4646

4747
/**
48-
* Wraps target function with a specified wrapper, which will recieve
48+
* Wraps target function with a specified wrapper, which will receive
4949
* reference to the original function as a first argument.
5050
*
5151
* @param {Function} target - Function to be wrapped.

0 commit comments

Comments
 (0)