Skip to content

Commit

Permalink
Update Editor.js (#1405)
Browse files Browse the repository at this point in the history
Send along widget instead of this, new value cannot be fetched otherwise
  • Loading branch information
matthiaspalmer authored and dylans committed Dec 22, 2017
1 parent f727719 commit 7f676bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ define([
// the latter is delayed by setTimeouts in Dijit and will fire too late.
cmp.on(editOn ? 'blur' : 'change', function () {
if (!cmp._dgridIgnoreChange) {
self._updatePropertyFromEditor(column, this, {type: 'widget'});
self._updatePropertyFromEditor(column, cmp, {type: 'widget'});
}
});
}
Expand Down

0 comments on commit 7f676bb

Please sign in to comment.