custom JS removed in favor of proper CSRF implementation
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
packetaKey: '{{ packeta_api_key }}',
|
||||
fmt(c) { return (c / 100).toFixed(2) },
|
||||
pickPoint() {
|
||||
Packeta.Widget.pick(this.packetaKey, (point) => {
|
||||
Packeta.Widget.pick(this.packetaKey, (point) =>
|
||||
{{ ui::csrf_field() }} {
|
||||
if (point) { this.pointId = String(point.id); this.pointName = point.formatedValue || point.name }
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user