Bug 40395: (QA follow-up) Ensure checkboxes are unchecked after suspending
To test, select a few holds to suspend (but not all). Click 'Suspend selected'. Notice the selection doesn't reset. After this patch, it does reset.
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit cb60bc435f)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
e589114fab
commit
bd779cc7b6
|
|
@ -642,9 +642,7 @@ $(document).ready(function () {
|
|||
$("#suspend-modal-until").flatpickr().clear(); // clean the input
|
||||
}
|
||||
$("#suspend-modal").modal("hide");
|
||||
if ($(".select_hold_all").prop("checked")) {
|
||||
$(".select_hold_all").click();
|
||||
}
|
||||
$(".select_hold_all").click();
|
||||
});
|
||||
} catch (error) {
|
||||
if (error.status === 404) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue