mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
If chosen is loaded, trigger update of contents.
This commit is contained in:
parent
d496ba3cd5
commit
841d3b67bd
@ -124,6 +124,11 @@ function selectbox_add_option(id,label,value,do_onchange)
|
||||
selectBox.options[selectBox.length] = new Option(label,value,false,true);
|
||||
}
|
||||
if (selectBox.onchange && do_onchange) selectBox.onchange();
|
||||
|
||||
// If chosen is loaded, trigger update
|
||||
if(selectBox && $j().chosen) {
|
||||
$j(selectBox).trigger("liszt:updated");
|
||||
}
|
||||
}
|
||||
|
||||
/* toggles all checkboxes named name in form form, to be used as custom javascript in onclick of a button/image */
|
||||
|
Loading…
Reference in New Issue
Block a user