Skip to content

Commit 125ba68

Browse files
author
Hwashiang Yu
committed
MC-98351: Update transaction email variable dialog
- Resolved static test failures
1 parent deb5ec7 commit 125ba68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Variable/view/adminhtml/web/variables.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ window.Variables = {
112112
var windowId = this.dialogWindowId;
113113
jQuery('#' + windowId).modal('closeModal');
114114
var textareaElm = $(this.textareaElementId);
115+
115116
if (textareaElm) {
116117
var scrollPos = textareaElm.scrollTop;
118+
117119
if (!isNaN(variable)) {
118120
updateElementAtCursor(textareaElm, Variables.variablesValue[variable - 1]);
119121
} else {

0 commit comments

Comments
 (0)