diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2024-11-07 12:30:35 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-11-07 12:30:35 +0000 |
| commit | 73088e421a66b9071804bdbbbb6973f0690fd806 (patch) | |
| tree | 533ba5c940c9fb10234f5b76fb60ca047bf163ad /resources/assets/javascripts/bootstrap/resources.js | |
| parent | 20232326488b5aaeb5fb019fb670e2a004eb405b (diff) | |
remove obsolete schedule js, css and templates, fixes #4840
Closes #4840
Merge request studip/studip!3626
Diffstat (limited to 'resources/assets/javascripts/bootstrap/resources.js')
| -rw-r--r-- | resources/assets/javascripts/bootstrap/resources.js | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/resources/assets/javascripts/bootstrap/resources.js b/resources/assets/javascripts/bootstrap/resources.js index 7eb6a68..7d4f75a 100644 --- a/resources/assets/javascripts/bootstrap/resources.js +++ b/resources/assets/javascripts/bootstrap/resources.js @@ -179,7 +179,7 @@ STUDIP.ready(function () { jQuery(document).on( 'dragenter', - '.individual-booking-plan .appointment-booking-plan .schedule_entry', + '.individual-booking-plan .appointment-booking-plan', function (event) { jQuery(event.target).css('opacity', '0.7'); } @@ -187,7 +187,7 @@ STUDIP.ready(function () { jQuery(document).on( 'dragleave', - '.individual-booking-plan .appointment-booking-plan .schedule_entry', + '.individual-booking-plan .appointment-booking-plan', function (event) { jQuery(event.target).css('opacity', '1.0'); } @@ -206,35 +206,6 @@ STUDIP.ready(function () { } ); - jQuery('.schedule_entry').droppable( - { - drop: function (event, ui_element) { - event.preventDefault(); - - var booking_plan_entry = event.target; - var new_background_colour = jQuery( - ui_element.helper - ).css('background-color'); - - jQuery(booking_plan_entry).css( - 'background-color', - new_background_colour - ); - - jQuery(booking_plan_entry).find('dl').css( - { - backgroundColor: new_background_colour, - borderColor: new_background_colour - } - ); - jQuery(booking_plan_entry).find('dt').css( - 'background-color', - new_background_colour - ); - } - } - ); - //For the message functionality of the resource system: jQuery(document).on( |
