toggle a class on opened dropped check box
This commit is contained in:
parent
e6483c1c8a
commit
1123bbb8c1
|
@ -161,7 +161,7 @@ function setup_appearance(index, elem)
|
|||
var dummyinput = $('<input class="dummyinput" type="text" readonly="readonly"/>');
|
||||
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('<div class="droppedcheckboxes">').click(function() {
|
||||
|
|
Reference in New Issue