Skip to content

Commit

Permalink
Merge pull request #62 from Koala/Update-updateDatasetStatus
Browse files Browse the repository at this point in the history
URL ohne Pfadangabe führt zum 404-Fehler
  • Loading branch information
alxndr-w authored Sep 24, 2023
2 parents c40055f + 367da87 commit 1ac64e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/choice_status.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ function updateDatasetStatus($this, status, callback) {
$('#rex-js-ajax-loader').addClass('rex-visible');
if (confirm('Ändern?')) {
url = window.location.origin;
$.get(url + '/redaxo/index.php?page=content&rex-api-call=choice_status', {
path = window.location.pathname;
$.get(url + path + '?page=content&rex-api-call=choice_status', {
data_id: $this.data('id'),
table: $this.data('table'),
field: $this.data('field'),
Expand Down

0 comments on commit 1ac64e5

Please sign in to comment.