Commit 81895576 authored by PkSM3's avatar PkSM3

[UPDATE] correct ajax url

parent 63e9bfb1
...@@ -229,7 +229,7 @@ function updateDocuments(pagenumber,pagenav) { ...@@ -229,7 +229,7 @@ function updateDocuments(pagenumber,pagenav) {
var current_docs = {} var current_docs = {}
var BIS_dict = {} var BIS_dict = {}
var corpusid = window.location.href.split("corpus")[1].replace(/\//g, '')//replace all the slashes var corpusid = window.location.href.split("corpus")[1].replace(/\//g, '')//replace all the slashes
var theurl = "http://localhost:8000/api/nodes/"+corpusid+"/children/duplicates?keys=title&limit=9999" var theurl = "/api/nodes/"+corpusid+"/children/duplicates?keys=title&limit=9999"
$.ajax({ $.ajax({
url: theurl, url: theurl,
success: function(data) { success: function(data) {
......
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