PageSourceSearch

https://www.maskola.cz/assets/js/custom.js

js maskola.cz collected 2026-10-07 15:46:29 UTC 515 bytes, 17 lines download raw bytes

1function confirmation(el) {
2    if (!confirm('Opravdu smazat položku?')) {
3        return false;
4    }
5
6    // Submit the form the clicked button actually belongs to.
7    // Using el.closest('form') avoids relying on a shared element id,
8    // which previously always deleted the first row.
9    var form = el && el.closest ? el.closest('form') : null;
10    if (form) {
11        form.submit();
12        return false;
13    }
14
15    // No wrapping form (e.g. a plain delete link): allow default action.
16    return true;
17}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.