From 628b53eff6551ee21e1858b0ea660242c2328738 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 23 Mar 2020 14:07:40 -0700 Subject: [PATCH] Fix error upon changing raw changeset tags --- modules/ui/changeset_editor.js | 2 +- modules/ui/commit.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/changeset_editor.js b/modules/ui/changeset_editor.js index 2c4a41de1..121861294 100644 --- a/modules/ui/changeset_editor.js +++ b/modules/ui/changeset_editor.js @@ -38,7 +38,7 @@ export function uiChangesetEditor(context) { _fieldsArr.forEach(function(field) { field .on('change', function(t, onInput) { - dispatch.call('change', field, t, onInput); + dispatch.call('change', field, undefined, t, onInput); }); }); } diff --git a/modules/ui/commit.js b/modules/ui/commit.js index 2fbb88134..51eb9ed4b 100644 --- a/modules/ui/commit.js +++ b/modules/ui/commit.js @@ -444,7 +444,7 @@ export function uiCommit(context) { } - function changeTags(changed, onInput) { + function changeTags(_, changed, onInput) { if (changed.hasOwnProperty('comment')) { if (changed.comment === undefined) { changed.comment = '';