mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-13 08:22:52 -04:00
Fix indentation issue
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
return { <?php echo $this->security->get_csrf_token_name(); ?> : function () { return csrf_token(); } };
|
||||
};
|
||||
|
||||
var setup_csrf_token = function() {
|
||||
$('input[name="<?php echo $this->security->get_csrf_token_name(); ?>"]').val(csrf_token());
|
||||
};
|
||||
var setup_csrf_token = function() {
|
||||
$('input[name="<?php echo $this->security->get_csrf_token_name(); ?>"]').val(csrf_token());
|
||||
};
|
||||
|
||||
var ajax = $.ajax;
|
||||
|
||||
@@ -55,5 +55,4 @@
|
||||
setup_csrf_token();
|
||||
submit.apply(this, arguments);
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user