File tree Expand file tree Collapse file tree 5 files changed +25
-4
lines changed
Checkout/view/frontend/web/js
Customer/view/frontend/templates/account/dashboard
design/frontend/Magento/luma/Magento_Theme/web/css/source Expand file tree Collapse file tree 5 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 120
120
<source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
121
121
</field >
122
122
<field id =" template_hints_blocks" translate =" label" type =" select" sortOrder =" 21" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" >
123
- <label >Add Block Names to Hints</label >
123
+ <label >Add Block Class Type to Hints</label >
124
124
<source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
125
125
</field >
126
126
</group >
Original file line number Diff line number Diff line change @@ -105,6 +105,13 @@ define([
105
105
self . _showItemButton ( $ ( event . target ) ) ;
106
106
} ;
107
107
108
+ /**
109
+ * @param {jQuery.Event } event
110
+ */
111
+ events [ 'change ' + this . options . item . qty ] = function ( event ) {
112
+ self . _showItemButton ( $ ( event . target ) ) ;
113
+ } ;
114
+
108
115
/**
109
116
* @param {jQuery.Event } event
110
117
*/
Original file line number Diff line number Diff line change 20
20
<?= $ block ->escapeHtml ($ block ->getName ()) ?> <br>
21
21
<?= $ block ->escapeHtml ($ block ->getCustomer ()->getEmail ()) ?> <br>
22
22
</p>
23
+ <?= $ block ->getChildHtml ('customer.account.dashboard.info.extra ' ); ?>
23
24
</div>
24
25
<div class="box-actions">
25
26
<a class="action edit" href="<?= $ block ->escapeUrl ($ block ->getUrl ('customer/account/edit ' )) ?> ">
43
44
<?= $ block ->escapeHtml (__ ('You aren \'t subscribed to our newsletter. ' )) ?>
44
45
<?php endif ; ?>
45
46
</p>
46
- <?php /* Extensions placeholder */ ?>
47
- <?= $ block ->getChildHtml ('customer.account.dashboard.info.extra ' ) ?>
48
47
</div>
49
48
<div class="box-actions">
50
49
<a class="action edit" href="<?= $ block ->escapeUrl ($ block ->getUrl ('newsletter/manage ' )) ?> "><span><?= $ block ->escapeHtml (__ ('Edit ' )) ?> </span></a>
Original file line number Diff line number Diff line change 528
528
529
529
.header.links {
530
530
min-width : 175px ;
531
+ z-index : 1000 ;
531
532
}
532
533
533
534
& .active {
Original file line number Diff line number Diff line change @@ -27,14 +27,28 @@ define([
27
27
return ! ! _ . findWhere ( callbacks , callback ) ;
28
28
}
29
29
30
+ /**
31
+ * Checks if provided module is rejected during load.
32
+ *
33
+ * @param {Object } module - Module to be checked.
34
+ * @return {Boolean }
35
+ */
36
+ function isRejected ( module ) {
37
+ return registry [ module . id ] && registry [ module . id ] . error ;
38
+ }
39
+
30
40
/**
31
41
* Checks if provided module has unresolved dependencies.
32
42
*
33
43
* @param {Object } module - Module to be checked.
34
44
* @returns {Boolean }
35
45
*/
36
46
function isPending ( module ) {
37
- return ! ! module . depCount ;
47
+ if ( ! module . depCount ) {
48
+ return false ;
49
+ }
50
+
51
+ return module . depCount > _ . filter ( module . depMaps , isRejected ) . length ;
38
52
}
39
53
40
54
/**
You can’t perform that action at this time.
0 commit comments