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

--- Comment #2 from Owen Leonard <[email protected]> ---
Created attachment 203789
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203789&action=edit
Bug 43307: Migrate cataloguing/moveitem.tt to use api-client.js

This patch replaces the raw jQuery.ajax() DELETE call for deleting
a biblio record with the api-client.js pattern.

Changes:
- Add biblios.delete method to BiblioAPIClient
- Register BiblioAPIClient in the main api-client.js
- Replace $.ajax DELETE in moveitem.tt with APIClient.biblio call

Test plan:
1. Apply patch
2. Go to Cataloging > Move items
3. Move items from one record to another until source is empty
4. Click "Delete this record"
=> SUCCESS: Record deleted, success message shown
5. Sign off :-D

Signed-off-by: Owen Leonard <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to