Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
81895576
Commit
81895576
authored
Jan 15, 2015
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UPDATE] correct ajax url
parent
63e9bfb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
corpus.html
templates/corpus.html
+2
-2
No files found.
templates/corpus.html
View file @
81895576
...
@@ -171,7 +171,7 @@ function dateToInt(todayTime) {
...
@@ -171,7 +171,7 @@ function dateToInt(todayTime) {
// I've clicked "Read Documents":
// I've clicked "Read Documents":
function
updateDocuments
(
pagenumber
,
pagenav
)
{
function
updateDocuments
(
pagenumber
,
pagenav
)
{
pagenav
=
(
pagenav
)?
pagenav
:
true
;
pagenav
=
(
pagenav
)?
pagenav
:
true
;
pagenumber
=
(
pagenumber
)?
pagenumber
:
1
;
pagenumber
=
(
pagenumber
)?
pagenumber
:
1
;
pr
(
"in here pagenav:"
+
pagenav
+
" - pagenumber:"
+
pagenumber
)
pr
(
"in here pagenav:"
+
pagenav
+
" - pagenumber:"
+
pagenumber
)
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment