[Koha-bugs] [Bug 7455] Authority subfields are cloned in the wrong field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 17 11:08:33 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7455

--- Comment #4 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 10884
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10884&action=edit
Proposed patch

Proposed patch fixes several bugs in authority edition page.

I also worked for authority edition page to be maximum similar to biblio
edition page.
I merged common javascript code into "cataloguing.js" file. It contains all
cloning methods. Therefore, I also merged some javascript code from item
edition (additem.tt, serials-edit.tt, batchMod-edit.tt).

- I've add the type "text" on inputs that did not add this attribute (it is
useful for js and is mandatory in XHTML).
- I changed the code that tests if one is trying to remove the last field : I
used JQuery instead of "fields_in_use" var.
- I add cloning little images instead of "+" and "-".
- Patch fixes a bug on indicators cloning in both biblio and authorities
edition.

Enjoy.

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


More information about the Koha-bugs mailing list