File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -391,8 +391,8 @@ protected function generateViewAllPages() {
391
391
$ patternData ["patternPartial " ] = "viewall- " .$ patternStoreData ["nameDash " ]."-all " ;
392
392
393
393
// add the pattern lab specific mark-up
394
- $ partials ["patternLabHead " ] = $ stringLoader ->render (array ("string " => $ htmlHead , "data " => array ("cacheBuster " => $ partials ["cacheBuster " ])));
395
- $ partials ["patternLabFoot " ] = $ stringLoader ->render (array ("string " => $ htmlFoot , "data " => array ("cacheBuster " => $ partials ["cacheBuster " ], "patternData " => json_encode ($ patternData ))));
394
+ $ globalData ["patternLabHead " ] = $ stringLoader ->render (array ("string " => $ htmlHead , "data " => array ("cacheBuster " => $ partials ["cacheBuster " ])));
395
+ $ globalData ["patternLabFoot " ] = $ stringLoader ->render (array ("string " => $ htmlFoot , "data " => array ("cacheBuster " => $ partials ["cacheBuster " ], "patternData " => json_encode ($ patternData ))));
396
396
397
397
// render the parts and join them
398
398
$ header = $ patternLoader ->render (array ("pattern " => $ patternHead , "data " => $ globalData ));
You can’t perform that action at this time.
0 commit comments