Skip to content

Commit d2400cd

Browse files
committed
Merge remote-tracking branch 'main-ce/develop' into MAGETWO-51403
2 parents 68201a6 + 2abc5a3 commit d2400cd

File tree

8 files changed

+622
-582
lines changed

8 files changed

+622
-582
lines changed

app/code/Magento/Backend/view/adminhtml/templates/admin/login.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
value=""
2828
data-validate="{required:true}"
2929
placeholder="<?php /* @escapeNotVerified */ echo __('user name') ?>"
30-
autocomplete="username"
30+
autocomplete="off"
3131
/>
3232
</div>
3333
</div>
@@ -43,7 +43,7 @@
4343
data-validate="{required:true}"
4444
value=""
4545
placeholder="<?php /* @escapeNotVerified */ echo __('password') ?>"
46-
autocomplete="current-password"
46+
autocomplete="off"
4747
/>
4848
</div>
4949
</div>

app/code/Magento/Eav/Model/Entity/Type.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,11 @@ public function getEntityIdField()
278278
*/
279279
public function getEntityTable()
280280
{
281-
return isset($this->_data['entity_table']) ? $this->_data['entity_table'] : null;
281+
if (isset($this->_data['entity_table'])) {
282+
return $this->getResource()->getTable($this->_data['entity_table']);
283+
}
284+
285+
return null;
282286
}
283287

284288
/**

app/design/adminhtml/Magento/backend/Magento_Backend/layout/default.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
-->
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
99
<head>
10+
<css src="jquery/jstree/themes/default/style.css"/>
1011
<css src="css/styles-old.css"/>
1112
<css src="css/styles.css"/>
1213
</head>

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/_module-old.less

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,32 @@
320320
cursor: not-allowed;
321321
}
322322

323+
// ToDo: remove after "Product Attributes Mass update" implementation
324+
.attributes-edit-form {
325+
.field {
326+
.control {
327+
input[type='text'][disabled] ~ .addafter,
328+
select[disabled] ~ .addafter,
329+
.attribute-change-checkbox {
330+
background: none;
331+
color: #676056;
332+
cursor: inherit;
333+
opacity: 1;
334+
335+
strong {
336+
background: none;
337+
}
338+
}
339+
}
340+
}
341+
342+
.weight-switcher {
343+
.addafter {
344+
margin-top: 30px;
345+
}
346+
}
347+
}
348+
323349
.field .control input[type='text'][disabled] ~ .addafter strong,
324350
.field .control select[disabled] ~ .addafter strong {
325351
background-color: #e9e9e9;

app/design/adminhtml/Magento/backend/web/css/source/forms/_controls.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ option:empty {
241241
}
242242

243243
.admin__control-text {
244+
margin: .1rem;
245+
padding: @field-control__padding-top - .1rem @field-control__padding-horizontal - .1rem @field-control__padding-bottom - .1rem;
244246
width: 100%;
245247
}
246248

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@
887887
background-color: #e9e9e9;
888888
border-color: #adadad;
889889
opacity: .5;
890+
890891
&.admin__control-checkbox,
891892
&.admin__control-radio {
892893
opacity: 0.01;
@@ -1387,6 +1388,7 @@
13871388
line-height: 1.33;
13881389
vertical-align: middle;
13891390
white-space: normal;
1391+
word-break: break-all;
13901392

13911393
&[data-config-scope] {
13921394
position: relative;

lib/internal/Magento/Framework/Stdlib/DateTime/Filter/Date.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public function __construct(TimezoneInterface $localeDate)
5252
*/
5353
public function filter($value)
5454
{
55-
return $this->_normalToLocalFilter->filter($this->_localToNormalFilter->filter($value));
55+
$value = $this->_normalToLocalFilter->filter($this->_localToNormalFilter->filter($value));
56+
57+
/**
58+
* @todo MAGETWO-51391
59+
*/
60+
return str_replace("\xc2\xa0", '', $value);
5661
}
5762
}

0 commit comments

Comments
 (0)