[Koha-bugs] [Bug 17016] Button to clear all fields in budget planning

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 21 16:21:30 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17016

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 99047
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99047
Bug 17016: Button to clear all fields in budget planning

Review of attachment 99047:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17016&attachment=99047)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt
@@ +6,5 @@
>  <title>Koha › Administration › Budgets › Funds › Planning for [% budget_period_description | html %] by [% authcat | html %]</title>
>  [% INCLUDE 'doc-head-close.inc' %]
>  <style>td.locked { background-image: url('[% interface | html %]/[% theme | html %]/img/locked.png'); padding-left : 20px; background-repeat: no-repeat; background-position: 5px 5px; } a.control { font-size:85%;text-decoration:none; } .plan_entry { text-align: right; width:90%; }</style>
> +<script>
> +</script>

Not needed.

@@ +317,5 @@
> +                    if (type != "button" && type != "submit" ) {
> +                      $(this).val("");
> +                      $(this).prop('disabled', false);
> +                    }
> +                    if ( type == "checkbox" ) {

When is it a checkbox?
I always see text inputs.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list