15617 - Be able to close "Click to edit" text boxes after opening them
commit9510a1f3e1334ec6e92a7561b9bcb237cd15cb59
authorGus <gel1163@stacmail.net>
Wed, 20 Jan 2016 23:47:12 +0000 (20 23:47 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 27 Jan 2016 05:33:12 +0000 (27 05:33 +0000)
tree83610d9ece199131c06c9089e077e4e92d856bab
parent7dc0c67640904a19a73e58c6af330af50d6d16d6
 15617 - Be able to close "Click to edit" text boxes after opening them

To test:

1. Go to admin preferences, Acquisitions, Policy.
2. Find MarcFieldsToOrder and click "Click to Edit"
3. Notice that a "Click to collapse" button appears, click it.
4. Notice that the box has collapsed

This fix should be applicable to all "Click to Edit" textboxes

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Works well, and a nice improvement.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt