|
|
@ -25,7 +25,6 @@ async function initRepoProjectSortable() { |
|
|
|
data: JSON.stringify({sorting: i, color: rgbToHex($(column).css('backgroundColor'))}), |
|
|
|
data: JSON.stringify({sorting: i, color: rgbToHex($(column).css('backgroundColor'))}), |
|
|
|
headers: { |
|
|
|
headers: { |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Remote': true, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
contentType: 'application/json', |
|
|
|
contentType: 'application/json', |
|
|
|
method: 'PUT', |
|
|
|
method: 'PUT', |
|
|
@ -47,7 +46,6 @@ async function initRepoProjectSortable() { |
|
|
|
$.ajax(`${url}/${issue}`, { |
|
|
|
$.ajax(`${url}/${issue}`, { |
|
|
|
headers: { |
|
|
|
headers: { |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Remote': true, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
contentType: 'application/json', |
|
|
|
contentType: 'application/json', |
|
|
|
type: 'POST', |
|
|
|
type: 'POST', |
|
|
@ -90,7 +88,6 @@ export default function initRepoProject() { |
|
|
|
data: JSON.stringify({title: projectTitleInput.val(), color: projectColorInput.val()}), |
|
|
|
data: JSON.stringify({title: projectTitleInput.val(), color: projectColorInput.val()}), |
|
|
|
headers: { |
|
|
|
headers: { |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Remote': true, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
contentType: 'application/json', |
|
|
|
contentType: 'application/json', |
|
|
|
method: 'PUT', |
|
|
|
method: 'PUT', |
|
|
@ -114,7 +111,6 @@ export default function initRepoProject() { |
|
|
|
url: $(this).data('url'), |
|
|
|
url: $(this).data('url'), |
|
|
|
headers: { |
|
|
|
headers: { |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Remote': true, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
contentType: 'application/json', |
|
|
|
contentType: 'application/json', |
|
|
|
}); |
|
|
|
}); |
|
|
@ -130,7 +126,6 @@ export default function initRepoProject() { |
|
|
|
url: $(this).data('url'), |
|
|
|
url: $(this).data('url'), |
|
|
|
headers: { |
|
|
|
headers: { |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Remote': true, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
contentType: 'application/json', |
|
|
|
contentType: 'application/json', |
|
|
|
method: 'DELETE', |
|
|
|
method: 'DELETE', |
|
|
@ -151,7 +146,6 @@ export default function initRepoProject() { |
|
|
|
data: JSON.stringify({title: boardTitle.val(), color: projectColorInput.val()}), |
|
|
|
data: JSON.stringify({title: boardTitle.val(), color: projectColorInput.val()}), |
|
|
|
headers: { |
|
|
|
headers: { |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Csrf-Token': csrfToken, |
|
|
|
'X-Remote': true, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
contentType: 'application/json', |
|
|
|
contentType: 'application/json', |
|
|
|
method: 'POST', |
|
|
|
method: 'POST', |
|
|
|