diff --git a/asset/js/widget/BaseInput.js b/asset/js/widget/BaseInput.js index cd7d6a47..2e0f7f4e 100644 --- a/asset/js/widget/BaseInput.js +++ b/asset/js/widget/BaseInput.js @@ -574,12 +574,12 @@ define(["../notjQuery", "Completer"], function ($, Completer) { } } - this.dataInput.value = JSON.stringify({ - type: changeType, - terms: changedTerms - }); - if (Object.keys(changedTerms).length) { + this.dataInput.value = JSON.stringify({ + type: changeType, + terms: changedTerms + }); + $(this.input.form).trigger('submit', { submittedBy: input }); } }