File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
var config = {
7
7
map : {
8
8
'*' : {
9
- requireCookie : 'Magento_Cookie/js/require-cookie'
9
+ requireCookie : 'Magento_Cookie/js/require-cookie' ,
10
+ cookieNotices : 'Magento_Cookie/js/notices'
10
11
}
11
12
}
12
13
} ;
Original file line number Diff line number Diff line change 26
26
], function($){
27
27
28
28
// <![CDATA[
29
- $('#notice-cookie-block').mage('cookieBlock ', {
29
+ $('#notice-cookie-block').mage('cookieNotices ', {
30
30
cookieAllowButtonSelector: '#btn-cookie-allow',
31
31
cookieName: '<?php echo \Magento \Cookie \Helper \Cookie::IS_USER_ALLOWED_SAVE_COOKIE ?> ',
32
32
cookieValue: '<?php echo $ this ->helper ('Magento\Cookie\Helper\Cookie ' )->getAcceptedSaveCookiesWebsiteIds () ?> ',
Original file line number Diff line number Diff line change 9
9
"mage/cookies"
10
10
] , function ( $ ) {
11
11
12
- $ . widget ( 'mage.cookieBlock ' , {
12
+ $ . widget ( 'mage.cookieNotices ' , {
13
13
_create : function ( ) {
14
14
if ( $ . mage . cookies . get ( this . options . cookieName ) ) {
15
15
this . element . hide ( ) ;
@@ -28,5 +28,5 @@ define([
28
28
}
29
29
} ) ;
30
30
31
- return $ . mage . cookieBlock ;
31
+ return $ . mage . cookieNotices ;
32
32
} ) ;
Original file line number Diff line number Diff line change 6
6
var config = {
7
7
map : {
8
8
"*" : {
9
- "cookieBlock" : "Magento_Cookie/js/notices" ,
10
9
"rowBuilder" : "Magento_Theme/js/row-builder" ,
11
10
"toggleAdvanced" : "mage/toggle" ,
12
11
"translateInline" : "mage/translate-inline" ,
You can’t perform that action at this time.
0 commit comments