bugfix chackboxu
This commit is contained in:
@ -851,7 +851,7 @@
|
||||
<!-- tady zacina polska docasna lokalizace -->
|
||||
<!-- <script type="text/javascript" src="https://unpkg.com/lightweight-charts/dist/lightweight-charts.standalone.production.js"></script> -->
|
||||
<script type="text/javascript" src="/static/js/libs/lightweightcharts/lightweight-charts.standalone.production410.js"></script>
|
||||
<script src="/static/js/dynamicbuttons.js?v=1.02"></script>
|
||||
<script src="/static/js/dynamicbuttons.js?v=1.03"></script>
|
||||
|
||||
|
||||
<!-- <script src="/static/js/utils.js?v=1.01"></script> -->
|
||||
|
||||
@ -276,7 +276,7 @@ function populate_dynamic_buttons(targetElement, config, batch_id = null) {
|
||||
// Stop the event from propagating to parent elements
|
||||
event.stopPropagation();
|
||||
// Check if the clicked element or any of its parents is a submit button
|
||||
if (!$(event.target).closest('input[type="submit"], button[type="submit"]').length) {
|
||||
if (!$(event.target).closest('input[type="submit"], button[type="submit"], input[type="checkbox"]').length) {
|
||||
// Stop the event from propagating to parent elements
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user