kopia lustrzana https://github.com/OpenDroneMap/WebODM
Removed the use of string templates in load_buttons.js
rodzic
cdf77d3089
commit
f887f85852
|
@ -13,7 +13,7 @@ PluginsAPI.Dashboard.addTaskActionButton(
|
||||||
["cloudimport/build/TaskView.js"],
|
["cloudimport/build/TaskView.js"],
|
||||||
function(args, ImportView) {
|
function(args, ImportView) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: `{{ api_url }}/projects/${args.task.project}/tasks/${args.task.id}/checkforurl`,
|
url: "{{ api_url }}/projects/" + args.task.project + "/tasks/" + args.task.id + "/checkforurl",
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
async: false,
|
async: false,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
|
|
Ładowanie…
Reference in New Issue