]> git.koha-community.org Git - koha.git/commit
Bug 17808: Fix behavior when editing a circ rule
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Dec 2016 09:18:03 +0000 (09:18 +0000)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 22 Jan 2017 20:04:14 +0000 (21:04 +0100)
commit6f1c11fdaeca6a89645bee7ead233a54c371caf1
tree6c4ec5043f645628145fcdb4571625b7d3e27cfe
parente1846edc4a702167a0318dec41b1b556c4108451
Bug 17808: Fix behavior when editing a circ rule

The original behavior is broken, see https://stackoverflow.com/questions/21410484/jquery-selector-to-find-out-count-of-non-empty-inputs

Test plan:
Edit a circ rule
=> Without this patch you get a useless message
=> With this patch, no message
Edit a circ rule with content in inputs
=> With or without this patch you get a useful message

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 5a9ffa92cecf69ec44450da9676cfbdb0f7d9fa1)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt