File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/create Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 10
10
require([
11
11
"prototype",
12
12
"Magento_Sales/order/create/form",
13
- "Magento_Catalog/catalog/product/composite/configure"
13
+ "Magento_Catalog/catalog/product/composite/configure",
14
+ "domReady!"
14
15
], function(){
15
16
16
17
order.sidebarHide();
17
- Event.observe(window, 'load', function() {
18
- if (window.productConfigure) {
19
- productConfigure.addListType('product_to_add', {
20
- urlFetch: '<?php /* @escapeNotVerified */ echo $ block ->getUrl ('sales/order_create/configureProductToAdd ' ) ?> '
21
- });
22
- productConfigure.addListType('quote_items', {
23
- urlFetch: '<?php /* @escapeNotVerified */ echo $ block ->getUrl ('sales/order_create/configureQuoteItems ' ) ?> '
24
- });
25
- }
26
- });
18
+ if (window.productConfigure) {
19
+ productConfigure.addListType('product_to_add', {
20
+ urlFetch: '<?php /* @escapeNotVerified */ echo $ block ->getUrl ('sales/order_create/configureProductToAdd ' ) ?> '
21
+ });
22
+ productConfigure.addListType('quote_items', {
23
+ urlFetch: '<?php /* @escapeNotVerified */ echo $ block ->getUrl ('sales/order_create/configureQuoteItems ' ) ?> '
24
+ });
25
+ }
27
26
28
27
});
29
28
</script>
You can’t perform that action at this time.
0 commit comments