Skip to content

Commit 2785994

Browse files
magento2-login-as-customer/issues/137: Login as Customer incorrect popup message.
1 parent 6b6f428 commit 2785994

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/LoginAsCustomerUi/view/adminhtml/web/js/confirmation-popup.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ define([
2121
*/
2222
initialize: function () {
2323
var self = this,
24-
content = '<div class="message message-warning">' + self.content + '</div>';
24+
content;
2525

2626
this._super();
2727

28+
content = '<div class="message message-warning">' + self.content + '</div>';
29+
2830
if (self.showStoreViewOptions) {
2931
content = template(
3032
selectTpl,

0 commit comments

Comments
 (0)