Skip to content

Commit

Permalink
Merge pull request #81 from TheDMSGroup/ENG-326
Browse files Browse the repository at this point in the history
[ENG-326] dont set changed var when bubbling token onChange
  • Loading branch information
heathdutton authored Jun 18, 2018
2 parents 13759ff + 73537b5 commit 1c14e2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/build/contactclient.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Assets/js/02.json_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ JSONEditor.createTagEditor = function ($text, tokenSource, tokenPlaceholder) {
onChange: function (el, ed, tag_list) {
if (!changed) {
if ('createEvent' in document) {
changed = true;
// changed = true;
var event = document.createEvent('HTMLEvents');
event.initEvent('change', false, true);
$text[0].dispatchEvent(event);
Expand All @@ -142,7 +142,7 @@ JSONEditor.createTagEditor = function ($text, tokenSource, tokenPlaceholder) {
}
}
else {
changed = true;
// changed = true;
}
},
beforeTagSave: function () {},
Expand Down

0 comments on commit 1c14e2d

Please sign in to comment.