File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ function plugin_moreticket_uninstall() {
145145 "glpi_plugin_moreticket_notificationtickets " ];
146146
147147 foreach ($ tables as $ table ) {
148- $ DB ->dropTable ($ table );
148+ $ DB ->dropTable ($ table, true );
149149 }
150150
151151 //Delete rights associated with the plugin
@@ -402,8 +402,8 @@ function plugin_moreticket_post_item_form($params) {
402402 // automatically click follow up set ticket to waiting status switch
403403 if (strpos ($ _SERVER ['REQUEST_URI ' ], "ticket.form.php " ) !== false ) {
404404 if ($ config ->fields ['waiting_by_default_followup ' ] && Session::haveRight ('ticket ' , Ticket::OWN )){
405- echo "<script>
406- $(document).ready(function() {
405+ echo "<script>
406+ $(document).ready(function() {
407407 let buttonFollowup = document.getElementById('itil-footer').querySelector( \"button[data-bs-target='#new-ITILFollowup-block'] \");
408408 console.log(buttonFollowup);
409409 buttonFollowup.addEventListener('click', e => {
You can’t perform that action at this time.
0 commit comments