Skip to content

Commit f009ffb

Browse files
author
Olga Kopylova
committed
MAGETWO-45017: [github] Widget editing does not work: «Uncaught TypeError: Cannot read property 'innerHTML' of null» (and my fix) #2235
1 parent 54baca5 commit f009ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ define([
209209
var descrCnt = $('widget-description-' + this.widgetEl.selectedIndex);
210210
if(noteCnt != undefined) {
211211
var description = (descrCnt != undefined ? descrCnt.innerHTML : '');
212-
noteCnt.update(descrCnt.innerHTML);
212+
noteCnt.update(description);
213213
}
214214
},
215215

0 commit comments

Comments
 (0)