mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Various Javascript related fixes.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
{% block scripts %}
|
||||
<script type="text/javascript">
|
||||
var what = '{{ what }}';
|
||||
var what = '{{ what|escape }}';
|
||||
</script>
|
||||
<script type="text/javascript" src="js/lib/bootstrap-sortable.js"></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
{% block scripts %}
|
||||
<script type="text/javascript">
|
||||
var accountID = {{ account.id }};
|
||||
var dateString = "{{ date }}";
|
||||
var dateString = "{{ date|escape }}";
|
||||
|
||||
// uri's for charts:
|
||||
var incomeByCategoryUri = '{{ route('chart.account.incomeByCategory', [account.id, start.format('Ymd'), end.format('Ymd')]) }}';
|
||||
|
||||
Reference in New Issue
Block a user