Created attachment 46953 [details] Click to edit text box on syspref I think that once you have opened a 'Click to edit' text box, you should be able to click a 'Cancel' or 'Hide' button and close it again. I realise you are able to collapse the box down by dragging the corner, but it would be nice to have a show and hide function. Leaving for someone better at javascript than me to figure out. I think preferences.tt and systempreferences.tt are the only files that have 'Click to edit' text boxes.
Created attachment 47069 [details] [review] 15617 - Be able to close "Click to edit" text boxes after opening them 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 th This fix should be applicable to all "Click to Edit" textbox's
Created attachment 47071 [details] [review] 15617 - Be able to close "Click to edit" text boxes after opening them 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" textbox's
Created attachment 47127 [details] [review] [SIGNED-OFF] 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.
Created attachment 47132 [details] [review] 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>
Pushed to Master - Should be in the May 2016 release. Thanks!