Skip to content

Commit f45fe09

Browse files
authored
Merge pull request #6936 from magento-commerce/platform-health
[Platform Health Community Project] Removed lamias-crypt, reflection methods and jquery upgrade preparation
2 parents 0a05fa3 + 6d705cb commit f45fe09

File tree

27 files changed

+50
-99
lines changed

27 files changed

+50
-99
lines changed

app/code/Magento/Backend/view/adminhtml/web/template/dynamic-rows/grid.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<div class="admin__control-table-pagination" visible="!!element.getRecordCount()">
3838
<div class="admin__data-grid-pager">
3939
<button class="action-previous" type="button" data-bind="attr: {title: $t('Previous Page')}, click: previousPage, disable: isFirst()"></button>
40-
<input class="admin__control-text" type="number" data-bind="attr: {id: ++ko.uid}, value: currentPage">
40+
<input class="admin__control-text" type="number" data-bind="attr: {id: ++ko.uid}, value: currentPage"/>
4141
<label class="admin__control-support-text" data-bind="attr: {for: ko.uid}, text: 'of ' + pages()"></label>
4242
<button class="action-next" type="button" data-bind="attr: {title: $t('Next Page')}, click: nextPage, disable: isLast()"></button>
4343
</div>
@@ -86,7 +86,7 @@
8686
<div class="message message-notice notice">
8787
<span
8888
translate="'Search strings are either normal strings or regular expressions (PCRE). They are matched in the same order as entered.'"></span>
89-
<br>
89+
<br/>
9090
<span
9191
translate="'Examples'"></span>:
9292
<span class="code-sample">Firefox: /^mozilla/i</span>

app/code/Magento/Checkout/view/frontend/web/template/cart/shipping-estimation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<fieldset class="fieldset estimate">
99
<legend class="legend">
1010
<span data-bind="text: isVirtual ? $t('Estimate Tax') : $t('Estimate Shipping and Tax') "></span>
11-
</legend><br>
11+
</legend><br/>
1212
<p class="field note" data-bind="text: isVirtual ? $t('Enter your billing address to get a tax estimate.') : $t('Enter your destination to get a shipping estimate.')"></p>
1313
<!-- ko foreach: getRegion('address-fieldsets') -->
1414
<!-- ko template: getTemplate() --><!-- /ko -->

app/code/Magento/Theme/view/adminhtml/templates/tabs/css.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ require([
3535
var uploadButton = $('#css_uploader_button');
3636
/** Unbind click event on file change */
3737
uploadButton.off('click');
38-
uploadButton.removeAttr('disabled');
38+
uploadButton.prop('disabled', false);
3939
40-
uploadButton.click(function () {
40+
uploadButton.on('click', function () {
4141
$('#messages').html('');
4242
$(this).attr('disabled', 'disabled');
4343
data.submit();

app/code/Magento/Theme/view/adminhtml/templates/tabs/js.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ require([
5757
});
5858
5959
var uploadButton = $('#js_uploader_button');
60-
uploadButton.removeAttr('disabled');
60+
uploadButton.prop('disabled', false);
6161
62-
uploadButton.click(function () {
62+
uploadButton.on('click', function () {
6363
$('#messages').html('');
6464
$(this).attr('disabled', 'disabled');
6565
@@ -121,7 +121,7 @@ require([
121121
}
122122
});
123123
124-
$('#js_files_uploader').click(function () {
124+
$('#js_files_uploader').on('click', function () {
125125
/** Unbind click event on file change */
126126
$('#js-file-uploader').html('');
127127
$('#js_uploader_button').off('click');

app/code/Magento/Ui/view/base/web/templates/dynamic-rows/cells/thumbnail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* See COPYING.txt for license details.
55
*/
66
-->
7-
<img class = 'admin__control-thumbnail' style="max-height: 75px; max-width: 75px;" data-bind="attr: {src: $data.value}">
7+
<img class="admin__control-thumbnail" style="max-height: 75px; max-width: 75px;" data-bind="attr: {src: $data.value}"/>

app/code/Magento/Ui/view/base/web/templates/form/element/price.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
*/
66
-->
77
<div class="admin__control-addon">
8-
<input class="admin__control-text" type="text" data-bind="value: value, attr: { id: uid, disabled: disabled, name: inputName }, hasFocus: focused">
98
<label class="admin__addon-prefix" data-bind="attr: { for: uid }"><span data-bind="text: currency_sign"></span></label>
9+
<input class="admin__control-text" type="text" data-bind="value: value, attr: { id: uid, disabled: disabled, name: inputName }, hasFocus: focused"/>
1010
</div>

app/code/Magento/Ui/view/base/web/templates/form/element/switcher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="admin__actions-switch" data-role="switcher">
88
<input class="admin__actions-switch-checkbox"
99
type="checkbox"
10-
data-bind="checked: value, attr: { id: uid, disabled: disabled, name: inputName }, hasFocus: focused">
10+
data-bind="checked: value, attr: { id: uid, disabled: disabled, name: inputName }, hasFocus: focused"/>
1111
<label class="admin__actions-switch-label"
1212
data-bind="attr: { for: uid }">
1313
<span data-bind="attr: {

app/code/Magento/Ui/view/base/web/templates/form/element/textarea.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717
placeholder: placeholder,
1818
id: uid,
1919
disabled: disabled
20-
}"
21-
></textarea>
20+
}"></textarea>

app/code/Magento/Ui/view/base/web/templates/form/element/uploader/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
event="load: $parent.onPreviewLoad.bind($parent)"
1616
attr="
1717
src: $parent.getFilePreview($file),
18-
alt: $file.name">
18+
alt: $file.name"/>
1919
</a>
2020

2121
<div class="actions">

app/code/Magento/Ui/view/base/web/templates/grid/cells/multiselect.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
checkedValue: $row()[$col.indexField],
1313
attr: {
1414
id: index + 'check' + $row()[$col.indexField]
15-
}">
15+
}"/>
1616
<label attr="for: index + 'check' + $row()[$col.indexField]"></label>
1717
</label>

0 commit comments

Comments
 (0)