]> git.koha-community.org Git - koha.git/commit
Bug 18542 - Move and style "new field" link in item search form
authorOwen Leonard <oleonard@myacpl.org>
Sat, 29 Apr 2017 19:36:18 +0000 (19:36 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Jul 2017 20:46:08 +0000 (17:46 -0300)
commitf87435c933616c648c50ab609d1fea2ac51785a7
tree0128d8aa24625fd863f244d6b22101a171ff231e
parentafddf4145fbbfd978e4c5cd22f0ae2cbbef70560
Bug 18542 - Move and style "new field" link in item search form

This patch modifies the item search page JavaScript so that the "New
field" link has a "+" icon and is always placed at the end of the last
row in that section of the form.

To test, apply the patch and open the item search form in the staff
client. In the third section there should be a "+ New field" link at the
end of the first row of fields.

Clicking the "New field" link should clone that row and move the link to
the end of the cloned row.

Behaves as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: Fix indentation
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt