fix: join batch, removed code revision, redirects for other pages if batch missing
This commit is contained in:
@@ -45,7 +45,9 @@
|
||||
}
|
||||
|
||||
window.checkout_upcoming_batches = () => {
|
||||
$('html,body').animate({scrollTop: $(".upcoming").offset().top}, 300);
|
||||
if ($(".upcoming").length > 0) {
|
||||
$('html,body').animate({ scrollTop: $(".upcoming").offset().top }, 300);
|
||||
}
|
||||
frappe.hide_msgprint();
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user