mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
update libraries for better keyboard use.
This commit is contained in:
parent
d7e953d38c
commit
9d90beb790
@ -165,7 +165,7 @@ class BudgetLimitController extends Controller
|
|||||||
$data = $request->getAll();
|
$data = $request->getAll();
|
||||||
$budget = $this->repository->findNull($data['budget_id']);
|
$budget = $this->repository->findNull($data['budget_id']);
|
||||||
if (null === $budget) {
|
if (null === $budget) {
|
||||||
throw new FireflyException('200004: Budget does not exist.');
|
throw new FireflyException('200004: Budget does not exist.'); // @codeCoverageIgnore
|
||||||
}
|
}
|
||||||
$data['budget'] = $budget;
|
$data['budget'] = $budget;
|
||||||
$budgetLimit = $this->blRepository->storeBudgetLimit($data);
|
$budgetLimit = $this->blRepository->storeBudgetLimit($data);
|
||||||
|
@ -90,8 +90,8 @@ class CategoryController extends Controller
|
|||||||
$tempData = [];
|
$tempData = [];
|
||||||
$spentWith = $this->opsRepository->listExpenses($start, $end);
|
$spentWith = $this->opsRepository->listExpenses($start, $end);
|
||||||
$earnedWith = $this->opsRepository->listIncome($start, $end);
|
$earnedWith = $this->opsRepository->listIncome($start, $end);
|
||||||
$spentWithout = $this->noCatRepository->listExpenses($start, $end); // refactored
|
$spentWithout = $this->noCatRepository->listExpenses($start, $end);
|
||||||
$earnedWithout = $this->noCatRepository->listIncome($start, $end); // refactored
|
$earnedWithout = $this->noCatRepository->listIncome($start, $end);
|
||||||
$categories = [];
|
$categories = [];
|
||||||
|
|
||||||
|
|
||||||
|
@ -401,7 +401,7 @@ class Request extends FormRequest
|
|||||||
if (is_numeric($type)) {
|
if (is_numeric($type)) {
|
||||||
$type = (int)$type;
|
$type = (int)$type;
|
||||||
}
|
}
|
||||||
if (0 === $type || 'none' === $type) {
|
if (0 === $type || 'none' === $type || '' === $type) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// basic float check:
|
// basic float check:
|
||||||
|
13
package.json
13
package.json
@ -15,12 +15,11 @@
|
|||||||
"bootstrap-sass": "^3.3.7",
|
"bootstrap-sass": "^3.3.7",
|
||||||
"cross-env": "^5.1",
|
"cross-env": "^5.1",
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"jquery": "^3.1.1",
|
"jquery": "^3.4.1",
|
||||||
"laravel-mix": "^4.1.2",
|
"laravel-mix": "^5.0",
|
||||||
"laravel-mix-bundle-analyzer": "^1.0.5",
|
"uiv": "^0.34",
|
||||||
"uiv": "^0.31.5",
|
"vue": "^2.6",
|
||||||
"vue": "^2.6.10",
|
"vue-i18n": "^8.15",
|
||||||
"vue-i18n": "^8.14.1",
|
"vue-template-compiler": "^2.6.11"
|
||||||
"vue-template-compiler": "^2.6.10"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
public/v1/js/app.js
vendored
1
public/v1/js/app.js
vendored
File diff suppressed because one or more lines are too long
30
public/v1/js/app.js.LICENSE.txt
Normal file
30
public/v1/js/app.js.LICENSE.txt
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap v3.4.1 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2019 Twitter, Inc.
|
||||||
|
* Licensed under the MIT license
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Sizzle CSS Selector Engine v2.3.4
|
||||||
|
* https://sizzlejs.com/
|
||||||
|
*
|
||||||
|
* Copyright JS Foundation and other contributors
|
||||||
|
* Released under the MIT license
|
||||||
|
* https://js.foundation/
|
||||||
|
*
|
||||||
|
* Date: 2019-04-08
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* jQuery JavaScript Library v3.4.1
|
||||||
|
* https://jquery.com/
|
||||||
|
*
|
||||||
|
* Includes Sizzle.js
|
||||||
|
* https://sizzlejs.com/
|
||||||
|
*
|
||||||
|
* Copyright JS Foundation and other contributors
|
||||||
|
* Released under the MIT license
|
||||||
|
* https://jquery.org/license
|
||||||
|
*
|
||||||
|
* Date: 2019-05-01T21:04Z
|
||||||
|
*/
|
3
public/v1/js/app_vue.js
vendored
3
public/v1/js/app_vue.js
vendored
File diff suppressed because one or more lines are too long
5
public/v1/js/app_vue.js.LICENSE.txt
Normal file
5
public/v1/js/app_vue.js.LICENSE.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
/*!
|
||||||
|
* Vue.js v2.6.11
|
||||||
|
* (c) 2014-2019 Evan You
|
||||||
|
* Released under the MIT License.
|
||||||
|
*/
|
3
public/v1/js/create_transaction.js
vendored
3
public/v1/js/create_transaction.js
vendored
File diff suppressed because one or more lines are too long
6
public/v1/js/create_transaction.js.LICENSE.txt
Normal file
6
public/v1/js/create_transaction.js.LICENSE.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Determine if an object is a Buffer
|
||||||
|
*
|
||||||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||||||
|
* @license MIT
|
||||||
|
*/
|
3
public/v1/js/edit_transaction.js
vendored
3
public/v1/js/edit_transaction.js
vendored
File diff suppressed because one or more lines are too long
6
public/v1/js/edit_transaction.js.LICENSE.txt
Normal file
6
public/v1/js/edit_transaction.js.LICENSE.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Determine if an object is a Buffer
|
||||||
|
*
|
||||||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||||||
|
* @license MIT
|
||||||
|
*/
|
1
public/v1/js/profile.js
vendored
1
public/v1/js/profile.js
vendored
File diff suppressed because one or more lines are too long
6
public/v1/js/profile.js.LICENSE.txt
Normal file
6
public/v1/js/profile.js.LICENSE.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Determine if an object is a Buffer
|
||||||
|
*
|
||||||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||||||
|
* @license MIT
|
||||||
|
*/
|
@ -197,7 +197,7 @@
|
|||||||
handleEnter: function (e) {
|
handleEnter: function (e) {
|
||||||
// todo feels sloppy
|
// todo feels sloppy
|
||||||
if (e.keyCode === 13) {
|
if (e.keyCode === 13) {
|
||||||
e.preventDefault();
|
//e.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,7 +124,7 @@
|
|||||||
handleEnter: function (e) {
|
handleEnter: function (e) {
|
||||||
// todo feels sloppy
|
// todo feels sloppy
|
||||||
if (e.keyCode === 13) {
|
if (e.keyCode === 13) {
|
||||||
e.preventDefault();
|
//e.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.target = this.$refs.descr;
|
this.target = this.$refs.descr;
|
||||||
this.descriptionAutoCompleteURI = document.getElementsByTagName('base')[0].href + "json/transaction-journals/all?search=";
|
this.descriptionAutoCompleteURI = document.getElementsByTagName('base')[0].href + "json/transaction-journals/all?search=";
|
||||||
|
this.$refs.descr.focus();
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
},
|
},
|
||||||
@ -101,7 +102,7 @@
|
|||||||
// todo feels sloppy
|
// todo feels sloppy
|
||||||
|
|
||||||
if (e.keyCode === 13) {
|
if (e.keyCode === 13) {
|
||||||
e.preventDefault();
|
//e.preventDefault();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectedItem: function (e) {
|
selectedItem: function (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user