Skip to content

Commit 217b0e2

Browse files
committed
MC-3496: Static block widget is broken in inline mode
Explain try/catch wrap
1 parent 6f9656f commit 217b0e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ define([
275275
}
276276

277277
if (e != undefined && e.id) { //eslint-disable-line eqeqeq
278+
// attempt to Base64-decode id on selected node; exception is thrown if it is in fact not a widget node
278279
try {
279280
widgetCode = Base64.idDecode(e.id);
280281
} catch (ex) {

0 commit comments

Comments
 (0)