We can certainly do better here (too many duplicated code in on click functions), but it's good enouh for now... Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>