]> git.koha-community.org Git - koha.git/commit
Bug 14389: Editing a syspref in a textarea does not enable the Save button
authorLiz Rea <liz@catalyst.net.nz>
Tue, 16 Jun 2015 04:12:57 +0000 (16:12 +1200)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 16 Jul 2015 10:05:31 +0000 (10:05 +0000)
commitd578222188d5da186d00826ab26de29b0cb4b969
tree1bdf3e24dae45315533cd14640e72d61fa93a7e7
parent15b3b05346601da424baa510723f0e08497c6368
Bug 14389: Editing a syspref in a textarea does not enable the Save button

Test plan:
  1. Navigate to the "opaccredits" syspref (or any other textarea, i.e.,
     "Click to Edit", syspref) in the system preferences editor.
  2. Change its contents, by either pasting or typing. The field may not
     be marked as modified, even after you click outside the box.
  3. Apply the patch.
  4. Reload the page and try again; either pasting or typing should mark
     the field as changed and allow you to save.

Signed-off-by: Jesse Weaver <pianohacker@gmail.com>
Confirmed working for normal input, paste and middle-click paste in
Chrome and Firefox in Linux.

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit c95e794bd458377d742280ae8fff281ddf395e04)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js