Commit 68c02764 authored by Fatih Acet's avatar Fatih Acet

Pass line number and source to backend

parent 35ada101
......@@ -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();
......
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment