]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 25 Jan 2017 02:05:25 +0000 (15:05 +1300)
commit5a9f79c1bd3b1e35bbe80d98eef6d1e51354479f
tree25e97841dda0d0ff86f316eec172399645e2aa07
parent1d28489f76a6890b38009e5f5b92ccd1d18051bc
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