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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #182352|0                           |1
        is obsolete|                            |

--- Comment #3 from Jonathan Druart <[email protected]> ---
Created attachment 182353
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182353&action=edit
Bug 39888: Prevent load of superflous JS when table is not present

We shouldn't attempt to load the JS block for dealing with the budgets
table if there is no budgets defined and thus no budgets table.

Test plan
1) Remove all budgets
2) Load acqui-home.pl and note an error in the browser console
3) Apply the patch
4) Reload acqui-home.pl and note the errors have gone

Signed-off-by: Martin Renvoize <[email protected]>

Amended-by: Jonathan Druart
Tidy

Signed-off-by: Jonathan Druart <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to