diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2023-07-11 13:49:47 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2023-07-11 13:49:47 +0000 |
| commit | e234779f2cf3195b2a14a4179f05c31038e478be (patch) | |
| tree | 6eed77119dd36103f8164556123e7198b15aef93 /resources/assets/javascripts/bootstrap/application.js | |
| parent | 3beb9a1c6a6d5df15ac0fc3d856b44c9da2faeec (diff) | |
Resolve "Umstellung der Adminseite für Veranstaltungen auf vue.js"
Closes #1965
Merge request studip/studip!1280
Diffstat (limited to 'resources/assets/javascripts/bootstrap/application.js')
| -rw-r--r-- | resources/assets/javascripts/bootstrap/application.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/resources/assets/javascripts/bootstrap/application.js b/resources/assets/javascripts/bootstrap/application.js index d673455..c6ffe35 100644 --- a/resources/assets/javascripts/bootstrap/application.js +++ b/resources/assets/javascripts/bootstrap/application.js @@ -331,24 +331,6 @@ STUDIP.domReady(function () { } }); -jQuery(document).on('click', '.course-admin td .course-completion', function () { - var href = $(this).attr('href'), - timeout = window.setTimeout(function () { - $(this).addClass('ajaxing'); - }.bind(this), 300); - - $.getJSON(href).done(function (response) { - clearTimeout(timeout); - - $(this).removeClass('ajaxing').attr({ - 'data-course-completion': response.state, - title: response.label - }); - }.bind(this)); - - return false; -}); - // Global handler: // Toggle a table element. The url of the link will be called, an ajax // indicator will be shown instead of the element and the whole table row |
