From: lombardof Date: Thu, 7 Jun 2018 13:50:03 +0000 (+0200) Subject: fix wrong url X-Git-Tag: BUILD_v4.0.1_1~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=20d0550e67985010d984d7004e7eea48131c92b1;p=osm%2FLW-UI.git fix wrong url Change-Id: I3f757d835adadf9ce3a36334e07fe553cb22029e Signed-off-by: lombardof --- diff --git a/projecthandler/template/project/osm/descriptor/descriptor_new.html b/projecthandler/template/project/osm/descriptor/descriptor_new.html index ff93ce0..460d8ca 100644 --- a/projecthandler/template/project/osm/descriptor/descriptor_new.html +++ b/projecthandler/template/project/osm/descriptor/descriptor_new.html @@ -52,6 +52,7 @@ Onboard new {{ descriptor_type }} package diff --git a/static/src/projecthandler/onboard_package.js b/static/src/projecthandler/onboard_package.js index 801acf2..3d519a6 100644 --- a/static/src/projecthandler/onboard_package.js +++ b/static/src/projecthandler/onboard_package.js @@ -53,7 +53,7 @@ function create(fs, dropzone) { data.append('id', '{{descriptor_id}}'); console.log(text); $.ajax({ - url: "new", + url: new_desc_url, type: 'POST', data: data, cache: false,