commit 29/01/2026

This commit is contained in:
2026-01-29 22:58:20 +07:00
parent b04e168b9a
commit b90982366d
19 changed files with 421 additions and 111 deletions

View File

@@ -217,6 +217,14 @@ $(document).ready(function () {
</div>`;
$('#citylist').append(row);
});
$('#city_selectall').off('click').on('click', function () {
// select all checkboxes
$('#citylist input[type=checkbox]').prop('checked', true);
});
$('#city_clearall').off('click').on('click', function () {
// deselect all checkboxes
$('#citylist input[type=checkbox]').prop('checked', false);
});
}
function fill_airlinelist() {
@@ -231,6 +239,14 @@ $(document).ready(function () {
</div>`;
$('#airlinelist').append(row);
});
$('#airline_selectall').off('click').on('click', function () {
// select all checkboxes
$('#airlinelist input[type=checkbox]').prop('checked', true);
});
$('#airline_clearall').off('click').on('click', function () {
// deselect all checkboxes
$('#airlinelist input[type=checkbox]').prop('checked', false);
});
}
// broadcast zone selection modal elements
@@ -246,6 +262,14 @@ $(document).ready(function () {
</div>`;
$('#broadcastzonelist').append(row);
});
$('#bzone_selectall').off('click').on('click', function () {
// select all checkboxes
$('#broadcastzonelist input[type=checkbox]').prop('checked', true);
});
$('#bzone_clearall').off('click').on('click', function () {
// deselect all checkboxes
$('#broadcastzonelist input[type=checkbox]').prop('checked', false);
});
}
@@ -263,6 +287,14 @@ $(document).ready(function () {
</div>`;
$('#messagebanklist').append(row);
});
$('#mbank_selectall').off('click').on('click', function () {
// select all checkboxes
$('#messagebanklist input[type=checkbox]').prop('checked', true);
});
$('#mbank_clearall').off('click').on('click', function () {
// deselect all checkboxes
$('#messagebanklist input[type=checkbox]').prop('checked', false);
});
}