TPAC added content shows default tab
authorBill Erickson <berick@esilibrary.com>
Tue, 15 May 2012 13:56:27 +0000 (09:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 15 May 2012 13:56:27 +0000 (09:56 -0400)
commitbe10f6af150d7760b3966247860782a6da15d36c
tree90b969e7b01fe17ffb08f92e1eaa4c51487fd3a6
parentc78f72e38bd042acc615afeed0f1e7d59f9b116f
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>
Open-ILS/src/templates/opac/parts/record/extras.tt2