mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 03:34:32 -06:00
Fix #1828
This commit is contained in:
parent
070e1e81ae
commit
d27176c0b3
1
public/v1/js/ff/accounts/create.js
vendored
1
public/v1/js/ff/accounts/create.js
vendored
@ -22,6 +22,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
1
public/v1/js/ff/accounts/edit.js
vendored
1
public/v1/js/ff/accounts/edit.js
vendored
@ -22,6 +22,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
1
public/v1/js/ff/bills/create.js
vendored
1
public/v1/js/ff/bills/create.js
vendored
@ -22,6 +22,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
1
public/v1/js/ff/bills/edit.js
vendored
1
public/v1/js/ff/bills/edit.js
vendored
@ -22,6 +22,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
24
public/v1/js/ff/budgets/create.js
vendored
Normal file
24
public/v1/js/ff/budgets/create.js
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* create.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This file is part of Firefly III.
|
||||
*
|
||||
* Firefly III is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Firefly III is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
});
|
24
public/v1/js/ff/budgets/edit.js
vendored
Normal file
24
public/v1/js/ff/budgets/edit.js
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* edit.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This file is part of Firefly III.
|
||||
*
|
||||
* Firefly III is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Firefly III is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input[type='text']:enabled:visible:first").first().focus();
|
||||
});
|
24
public/v1/js/ff/categories/create.js
vendored
Normal file
24
public/v1/js/ff/categories/create.js
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* create.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This file is part of Firefly III.
|
||||
*
|
||||
* Firefly III is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Firefly III is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
});
|
24
public/v1/js/ff/categories/edit.js
vendored
Normal file
24
public/v1/js/ff/categories/edit.js
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* edit.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This file is part of Firefly III.
|
||||
*
|
||||
* Firefly III is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Firefly III is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input[type='text']:enabled:visible:first").first().focus();
|
||||
});
|
1
public/v1/js/ff/piggy-banks/create.js
vendored
1
public/v1/js/ff/piggy-banks/create.js
vendored
@ -22,6 +22,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
1
public/v1/js/ff/piggy-banks/edit.js
vendored
1
public/v1/js/ff/piggy-banks/edit.js
vendored
@ -22,6 +22,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
1
public/v1/js/ff/recurring/create.js
vendored
1
public/v1/js/ff/recurring/create.js
vendored
@ -24,6 +24,7 @@ var calendar;
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
1
public/v1/js/ff/recurring/edit.js
vendored
1
public/v1/js/ff/recurring/edit.js
vendored
@ -24,6 +24,7 @@ var calendar;
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
25
public/v1/js/ff/rule-groups/create.js
vendored
Normal file
25
public/v1/js/ff/rule-groups/create.js
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* create.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This file is part of Firefly III.
|
||||
*
|
||||
* Firefly III is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Firefly III is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
});
|
25
public/v1/js/ff/rule-groups/edit.js
vendored
Normal file
25
public/v1/js/ff/rule-groups/edit.js
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* edit.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This file is part of Firefly III.
|
||||
*
|
||||
* Firefly III is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Firefly III is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input[type='text']:enabled:visible:first").first().focus();
|
||||
});
|
2
public/v1/js/ff/rules/create-edit.js
vendored
2
public/v1/js/ff/rules/create-edit.js
vendored
@ -22,7 +22,7 @@
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (triggerCount > 0) {
|
||||
console.log('trigger count is larger than zero, call onAddNewTrigger.');
|
||||
onAddNewTrigger();
|
||||
|
1
public/v1/js/ff/tags/create-edit.js
vendored
1
public/v1/js/ff/tags/create-edit.js
vendored
@ -21,6 +21,7 @@
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
$(".content-wrapper form input:enabled:visible:first").first().focus().select();
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
|
@ -42,3 +42,6 @@
|
||||
|
||||
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="v1/js/ff/budgets/create.js?v={{ FF_VERSION }}"></script>
|
||||
{% endblock %}
|
@ -40,3 +40,6 @@
|
||||
{{ Form.close|raw }}
|
||||
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="v1/js/ff/budgets/edit.js?v={{ FF_VERSION }}"></script>
|
||||
{% endblock %}
|
||||
|
@ -40,4 +40,6 @@
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="v1/js/ff/budgets/create.js?v={{ FF_VERSION }}"></script>
|
||||
{% endblock %}
|
@ -40,3 +40,6 @@
|
||||
</div>
|
||||
{{ Form.close|raw }}
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="v1/js/ff/categories/edit.js?v={{ FF_VERSION }}"></script>
|
||||
{% endblock %}
|
||||
|
@ -48,3 +48,6 @@
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="v1/js/ff/rule-groups/create.js?v={{ FF_VERSION }}"></script>
|
||||
{% endblock %}
|
@ -52,3 +52,6 @@
|
||||
{{ Form.close|raw }}
|
||||
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="v1/js/ff/rule-groups/edit.js?v={{ FF_VERSION }}"></script>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user