openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 9009bbd95279cec2c7a65dc3a06fba4068b258e1
parent 6cf725c6615bf72e32bec3421ed33fba488348bf
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 16 Oct 2012 10:02:11 +0200

Fix: Nur die Legende eines Fieldsets ist klickbar.

Diffstat:
themes/default/js/openrat.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js @@ -377,8 +377,8 @@ function loadView(jo, url ) $(this).closest('div.frame').find('div.command').css('visibility','visible').fadeIn('slow'); }); - $(jo).find('fieldset.open').click( function() { - $(this).find('div').first().toggleClass('invisible'); + $(jo).find('fieldset.open > legend').click( function() { + $(this).parent().find('div').first().toggleClass('invisible'); }); });