Added tooltip to delete button

This commit is contained in:
Cris
2022-02-17 16:54:47 +01:00
parent d17c221867
commit df4d2df9f2
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -139,11 +139,11 @@ var Zverfueg = {
.find('textarea[name=bezeichnung]').val('');
},
disableFormElements: function (){
$('#btn-delete').prop('disabled', true);
$('#btn-delete').prop('disabled', true).tooltip('enable');
$('#mitarbeiter_uid').prop('disabled', false);
},
enableFormElements: function (){
$('#btn-delete').prop('disabled', false);
$('#btn-delete').prop('disabled', false).tooltip('disable');
$('#mitarbeiter_uid').prop('disabled', true);
}
}