Bug 12024: fix add to list opening the list adding UI in two windows
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Wed, 2 Apr 2014 11:30:03 +0000 (14:30 +0300)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 7 Apr 2014 15:27:57 +0000 (15:27 +0000)
commitb5ae30cd6376ded9c7e63f0e3fcc34d043640e0e
tree71971564f44eeaf0c363dc4bc4f722f4a6c3cd67
parent3fc5aeb7456fbda97b6fbc0fb66ddbc3aa253439
Bug 12024: fix add to list opening the list adding UI in two windows

In Item details, when using the menu toolbar for Add To > List,
the list adding UI opens in a popup window, and also in the original
window. The original window should stay showing the item details page.

This patch corrects this behavior, which has been observed in Chromium
on Ubuntu and Chrome on Windows.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works fixing problem. No koha-qa errors.

Test:
1. On staff, go to detail of some biblio,
click add to List, described behavior

2. With patch applied, original windows stay on item detail

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch passes all tests and QA script, works as described.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc