First Commit

This commit is contained in:
mark committed 2026-10-19 15:22:52 -07:00
1 parent 5eb9dd037d
commit 2e62c0e60b
11877 files changed
+2035312

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
$(document).on("click", ".is-default", function() {
var value = $(this).html();
var new_value = 'Y';
var rnum = $(this).attr('rnum');
var spanID = $(this);
if (value == 'Y') new_value = 'N';
var data = "table_name=staff_categories"+
"&sequence_flag=N"+
"&record_num="+rnum+
"&is_default="+new_value;
$.getJSON("ajax.DataRecord.Update.php", data,
function(results) {
$(spanID).html(new_value);
}
);
});