Skip to content

Commit 1b70d09

Browse files
author
Stanislav Idolov
authored
ENGCOM-1010: Removing unused legacy price code #14218
2 parents dc02f8d + 01cc16f commit 1b70d09

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

lib/web/legacy-build.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/web/mage/adminhtml/tools.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ function checkByProductPriceType(elem) {
8989

9090
}
9191

92-
Event.observe(window, 'load', function () {
93-
if ($('price_default') && $('price_default').checked) {
94-
$('price').disabled = 'disabled';
95-
}
96-
});
97-
9892
function toggleSeveralValueElements(checkbox, containers, excludedElements, checked) {
9993
'use strict';
10094

0 commit comments

Comments
 (0)