First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,24 @@
|
||||
|
||||
$(document).on('click touch', '.action-fields-report-sequence-data-span', function() {
|
||||
var value = $(this).html();
|
||||
var rnum = $(this).attr('rnum');
|
||||
var spanid = $(this).attr('id');
|
||||
|
||||
value = Math.abs(value) + 1;
|
||||
if (value > 9) value = 0;
|
||||
|
||||
$.ajax({
|
||||
url: 'ajax.UpdateDBField.php',
|
||||
data: {
|
||||
table_name: '_form_fields',
|
||||
field_name: 'action_fields_report_sequence',
|
||||
field_value: value,
|
||||
field_type: 'numeric',
|
||||
record_num: rnum
|
||||
},
|
||||
dataType: "json"
|
||||
}).done(function(results) {
|
||||
$('#'+spanid).html(value);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user