Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fltrail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fides
fltrail
Commits
e23d05da
Commit
e23d05da
authored
6 years ago
by
Sven Kästle
Browse files
Options
Downloads
Patches
Plain Diff
fix: Switch from absolute to relative path
parent
0e6a32a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js
+4
-4
4 additions, 4 deletions
...samforschen/src/main/webapp/assets/js/annotationScript.js
with
4 additions
and
4 deletions
gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js
+
4
−
4
View file @
e23d05da
...
...
@@ -77,7 +77,7 @@ $(document).ready(function() {
* @param responseHandler The response handler
*/
function
createAnnotation
(
annotationPostRequest
,
responseHandler
)
{
var
url
=
"
http://localhost:8080
/rest/annotations/
"
;
var
url
=
"
..
/rest/annotations/
"
;
var
json
=
JSON
.
stringify
(
annotationPostRequest
);
$
.
ajax
({
url
:
url
,
...
...
@@ -99,7 +99,7 @@ function createAnnotation(annotationPostRequest, responseHandler) {
* @param responseHandler The response handler
*/
function
alterAnnotation
(
id
,
annotationPatchRequest
,
responseHandler
)
{
var
url
=
"
http://localhost:8080
/rest/annotations/
"
+
id
;
var
url
=
"
..
/rest/annotations/
"
+
id
;
var
json
=
JSON
.
stringify
(
annotationPatchRequest
);
$
.
ajax
({
url
:
url
,
...
...
@@ -119,7 +119,7 @@ function alterAnnotation(id, annotationPatchRequest, responseHandler) {
* @param id The annotation id
*/
function
deleteAnnotation
(
id
)
{
var
url
=
"
http://localhost:8080
/rest/annotations/
"
+
id
;
var
url
=
"
..
/rest/annotations/
"
+
id
;
$
.
ajax
({
url
:
url
,
type
:
"
DELETE
"
,
...
...
@@ -138,7 +138,7 @@ function deleteAnnotation(id) {
* @param responseHandler The response handler
*/
function
getAnnotations
(
targetId
,
responseHandler
)
{
var
url
=
"
http://localhost:8080
/rest/annotations/target/
"
+
targetId
;
var
url
=
"
..
/rest/annotations/target/
"
+
targetId
;
$
.
ajax
({
url
:
url
,
type
:
"
GET
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment