mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Make sure buttons are cleared when entering delete mode
This commit is contained in:
parent
0f10c21a66
commit
e41fa7a08e
3 changed files with 3 additions and 3 deletions
|
@ -113,7 +113,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.delete-control').each(function () {
|
$('.delete-control').each(function () {
|
||||||
$(this).find('button.btn-danger').toggleClass('btn-warning').toggleClass('btn-danger');
|
|
||||||
$(this).addClass('hidden');
|
$(this).addClass('hidden');
|
||||||
$('#row-edit-mode-alert').fadeOut(200);
|
$('#row-edit-mode-alert').fadeOut(200);
|
||||||
});
|
});
|
||||||
|
@ -121,6 +120,7 @@
|
||||||
} else {
|
} else {
|
||||||
history_to_delete = [];
|
history_to_delete = [];
|
||||||
$('.delete-control').each(function() {
|
$('.delete-control').each(function() {
|
||||||
|
$(this).find('button.btn-danger').toggleClass('btn-warning').toggleClass('btn-danger');
|
||||||
$(this).removeClass('hidden');
|
$(this).removeClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -368,7 +368,6 @@ DOCUMENTATION :: END
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.delete-control').each(function () {
|
$('.delete-control').each(function () {
|
||||||
$(this).find('button.btn-danger').toggleClass('btn-warning').toggleClass('btn-danger');
|
|
||||||
$(this).addClass('hidden');
|
$(this).addClass('hidden');
|
||||||
$('#row-edit-mode-alert').fadeOut(200);
|
$('#row-edit-mode-alert').fadeOut(200);
|
||||||
});
|
});
|
||||||
|
@ -376,6 +375,7 @@ DOCUMENTATION :: END
|
||||||
} else {
|
} else {
|
||||||
history_to_delete = [];
|
history_to_delete = [];
|
||||||
$('.delete-control').each(function() {
|
$('.delete-control').each(function() {
|
||||||
|
$(this).find('button.btn-danger').toggleClass('btn-warning').toggleClass('btn-danger');
|
||||||
$(this).removeClass('hidden');
|
$(this).removeClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -411,7 +411,6 @@ from plexpy import helpers
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.delete-control').each(function () {
|
$('.delete-control').each(function () {
|
||||||
$(this).find('button.btn-danger').toggleClass('btn-warning').toggleClass('btn-danger');
|
|
||||||
$(this).addClass('hidden');
|
$(this).addClass('hidden');
|
||||||
$('#row-edit-mode-alert').fadeOut(200);
|
$('#row-edit-mode-alert').fadeOut(200);
|
||||||
});
|
});
|
||||||
|
@ -419,6 +418,7 @@ from plexpy import helpers
|
||||||
} else {
|
} else {
|
||||||
history_to_delete = [];
|
history_to_delete = [];
|
||||||
$('.delete-control').each(function() {
|
$('.delete-control').each(function() {
|
||||||
|
$(this).find('button.btn-danger').toggleClass('btn-warning').toggleClass('btn-danger');
|
||||||
$(this).removeClass('hidden');
|
$(this).removeClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue