diff options
-rw-r--r-- | app/assets/javascripts/task_list.js | 6 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | yarn.lock | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/javascripts/task_list.js b/app/assets/javascripts/task_list.js index af2359d606f..2c3bd61463e 100644 --- a/app/assets/javascripts/task_list.js +++ b/app/assets/javascripts/task_list.js @@ -49,10 +49,16 @@ export default class TaskList { update(e) { const $target = $(e.target); + const { lineNumber, lineSource } = e.detail; const patchData = {}; + patchData[this.dataType] = { [this.fieldName]: $target.val(), lock_version: this.lockVersion, + update_task: { + line_number: lineNumber, + line_source: lineSource, + }, }; this.disableTaskListItems(); diff --git a/package.json b/package.json index f7b91f43967..863a619e63b 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "d3-time": "^1.0.8", "d3-time-format": "^2.1.1", "dateformat": "^3.0.3", - "deckar01-task_list": "fatihacet/task_list#844da3f", + "deckar01-task_list": "fatihacet/task_list", "diff": "^3.4.0", "document-register-element": "1.3.0", "dropzone": "^4.2.0", diff --git a/yarn.lock b/yarn.lock index 84b291597f5..0e2d1725c11 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3032,7 +3032,7 @@ decamelize@^2.0.0: dependencies: xregexp "4.0.0" -deckar01-task_list@fatihacet/task_list#844da3f: +deckar01-task_list@fatihacet/task_list: version "2.0.1" resolved "https://codeload.github.com/fatihacet/task_list/tar.gz/844da3fa2830bcb159a70bf195d4693f9f22e04a" |