Skip to content

Firefly III: a personal finances manager

Clean up old scripts.

James Cole330c941396cb
diff --git a/changelog.md b/changelog.md
index 6bad566113..01f94cead3 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
-## v6.7.0
+## v6.7.0 - 2026-09-17
<!-- summary: This release introduces a new layout and fixes many bugs. -->
diff --git a/resources/assets/v3/js/pages/generic.js b/resources/assets/v3/js/pages/generic.js
index 93d5213e67..7a803f7fe8 100644
--- a/resources/assets/v3/js/pages/generic.js
+++ b/resources/assets/v3/js/pages/generic.js
@@ -25,7 +25,12 @@ import dates from './shared/dates.js';
let index = function () {
return {
init() {
- // console.log('Generic JS for page with few features.');
+ (function() {
+ let list = document.querySelectorAll('div.app-content form input[type="text"]:enabled');
+ if (list.length > 0) {
+ list[0].focus();
+ }
+ })();
}
}
};
diff --git a/resources/views/bills/create.blade.php b/resources/views/bills/create.blade.php
index a39ebd8484..070c963f9b 100644
--- a/resources/views/bills/create.blade.php
+++ b/resources/views/bills/create.blade.php
@@ -1,7 +1,7 @@
@extends('layout.v3.session')
@section('content')
- <form method="POST" action="{{ route('subscriptions.store') }}" accept-charset="UTF-8" class="form-horizontal" id="store" enctype="multipart/form-data">
+ <form x-data="index" method="POST" action="{{ route('subscriptions.store') }}" accept-charset="UTF-8" class="form-horizontal" id="store" enctype="multipart/form-data">
<input name="_token" type="hidden" value="{{ csrf_token() }}">
<div class="row">
@@ -64,9 +64,6 @@
@section('scripts')
@vite(['js/pages/generic.js'])
- <script type="text/javascript" src="v1/js/ff/bills/create.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-
- {{-- auto complete for object groups --}}
<script type="text/javascript" src="v1/js/lib/bootstrap-simple-autocomplete.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
<script type="text/javascript" src="v1/js/ff/object-groups/ac.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
@endsection
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index f4f5745de3..426636275a 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -229,32 +229,3 @@
<script type="text/javascript" src="v1/js/ff/index.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
@endsection
-{{--
-<script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var lineColor = 'red';
- var lineTextColor = '#000';
- if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
- lineColor = '#a00';
- lineTextColor = '#bec5cb';
- }
- var billCount = {{ $billCount }};
- var accountFrontpageUrl = '{{ route('chart.account.frontpage') }}';
- var accountRevenueUrl = '{{ route('chart.account.revenue') }}';
- var accountExpenseUrl = '{{ route('chart.account.expense') }}';
- var piggyInfoUrl = '{{ route('json.fp.piggy-banks') }}';
- var drawVerticalLine = '';
- <!--render vertical line with text "today" -->
- @if($start->lte($today) and $end->gte($today))
- drawVerticalLine = '{{ $today->isoFormat($monthAndDayFormat) }}';
- @endif
-</script>
-
-<script type="text/javascript" src="v1/js/lib/Chart.bundle.min.js?v={{ $FF_BUILD_TIME }}"
- nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/lib/chartjs-plugin-annotation.min.js?v={{ $FF_BUILD_TIME }}"
- nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/ff/charts.defaults.js?v={{ $FF_BUILD_TIME }}"
- nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/ff/charts.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
-<script type="text/javascript" src="v1/js/ff/index.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
---}}
diff --git a/resources/views/recurring/create.blade.php b/resources/views/recurring/create.blade.php
index 0d69697d46..0d51003a31 100644
--- a/resources/views/recurring/create.blade.php
+++ b/resources/views/recurring/create.blade.php
@@ -214,19 +214,6 @@
@endsection
@section('scripts')
@vite(['js/pages/recurring/create.js'])
- <!--
- <script type="text/javascript" src="v1/js/lib/bootstrap-simple-autocomplete.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
- <script type="text/javascript" src="v1/js/ff/common/autocomplete.js?v={{ $FF_BUILD_TIME }}"
- nonce="{{ $JS_NONCE }}"></script>
- <script type="text/javascript" nonce="{{ $JS_NONCE }}">
- var transactionType = "{{ $preFilled['transaction_type'] }}";
-
-
- var oldRepetitionType = "{{ $oldRepetitionType }}";
- </script>
- <script type="text/javascript" src="v1/js/ff/recurring/create.js?v={{ $FF_BUILD_TIME }}"
- nonce="{{ $JS_NONCE }}"></script>
- -->
@endsection
@section('styles')