File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
app/code/Magento/LoginAsCustomerUi/view/frontend Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
/** @var \Magento\Framework\View\Element\Template $block */
7
+ /** @var \Magento\Framework\Escaper $escaper */
7
8
?>
8
9
10
+ <div class="loading-mask">
11
+ <div class="loader">
12
+ <img src="<?= $ escaper ->escapeUrl ($ block ->getViewFileUrl ('images/loader-1.gif ' )) ?> "
13
+ alt="<?= $ escaper ->escapeHtmlAttr (__ ('Loading... ' )) ?> "
14
+ style="position: absolute;">
15
+ </div>
16
+ </div>
17
+
9
18
<script type="text/x-magento-init">
10
19
{
11
20
"*": {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ define([
12
12
'use strict' ;
13
13
14
14
return function ( config ) {
15
- $ ( 'body' ) . trigger ( 'processStart' ) ;
16
15
customerData . reload ( sectionConfig . getSectionNames ( ) ) . done ( function ( ) {
17
16
window . location . href = config . redirectUrl ;
18
17
} ) ;
You can’t perform that action at this time.
0 commit comments