[Koha-bugs] [Bug 4437] acq.js uses XMLHttpRequest() directly; should use jQuery

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 27 05:27:24 CEST 2017


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

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #12 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 63756
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63756&action=edit
Bug 4437: acq.js uses XMLHttpRequest() directly; should use jQuery

The acq.js file used a few calls to XMLHttpRequest, which have been
changed to use jQuery.ajax instead.

The fetchSortDropbox no longer exists, which is why this patch
did not apply. However, the other three functions still had direct
XMLHttpRequest calls:
- totalExceedsBudget
- budgetExceedsParent
- checkBudgetParent

A test plan would require triggering these three javascript functions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list