blob: 507a0525fb2e92e2ab2c91a66b9ffdc040c8cc7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$(function () {
jQuery('.insert_row_input').on('change blur', function () {
var tr = $(this).closest('tr'),
checkbox = tr.find('.nullcheckbox');
if ($(this).val() !== '') {
checkbox.prop('checked', false);
}
});
jQuery('.btn_back').on('click', () => {
window.history && window.history.back();
});
jQuery('input[type=submit]').on('mouseover', function () {
jQuery('.insert_row_input').each(function () {
const tr = $(this).closest('tr'),
checkbox = tr.find('.nullcheckbox');
if ($(this).val() !== '') {
checkbox.prop('checked', false);
}
});
});
});
|