From 1123bbb8c1cb8eb4dbaca8e057db16353b72b6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 30 Nov 2011 00:09:51 +0100 Subject: [PATCH] toggle a class on opened dropped check box --- tabellio/searchform/docsearchpfb.pt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabellio/searchform/docsearchpfb.pt b/tabellio/searchform/docsearchpfb.pt index e11c5ad..040a393 100644 --- a/tabellio/searchform/docsearchpfb.pt +++ b/tabellio/searchform/docsearchpfb.pt @@ -161,7 +161,7 @@ function setup_appearance(index, elem) var dummyinput = $(''); sync_from_checkboxes(elem, dummyinput); dummyinput.click(function() { - $(elem).find('div.droppedcheckboxes').toggle(); + $(elem).find('div.droppedcheckboxes').toggle().parent().toggleClass('openboxes'); }); $(elem).find('.fieldErrorBox').after(dummyinput); $(elem).find('span.option').wrapAll('
').click(function() {