]> git.evergreen-ils.org Git - working/Evergreen.git/commit
TPAC added content shows default tab
authorBill Erickson <berick@esilibrary.com>
Tue, 15 May 2012 13:56:27 +0000 (09:56 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 25 May 2012 12:57:16 +0000 (08:57 -0400)
commit918166be5e75e2ab3dd1d0764c2be2f3075edfb1
treea8462f91b61c94484cd3a2f0b5ffba1cfe503093
parentbaad6d08cfdf0c6b4dad7985d37e74bfbfbd387b
TPAC added content shows default tab

Use the first available content as the default tab to show when the main
added content tab is expanded.

Note, if no content is known to exist until after JS has run, it's still
possible to expand the main tab and have no content selected by default.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/parts/record/extras.tt2