Bug 10212: (qa followup) accordion collapsed by default
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 26 Aug 2014 12:57:49 +0000 (09:57 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 26 Aug 2014 13:26:50 +0000 (10:26 -0300)
commitf590ad7734e767e107b62ebec7ccc9172824f229
treec5d836a90eb94e3f628372946b60f29b5dc87fa4
parent90becc2d2e436b5cf4c7b467b3c69549c90c7949
Bug 10212: (qa followup) accordion collapsed by default

By default, the accordion shows the first element (Acquisitions) which
is empty, and missleading. This patch collapses it by default.

The expected behaviour is that if we are rendering because the user saved
its changes, the modified accordion should be expanded, so I added a test
for the $panel variable.

Template comment added for future references about it.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt