mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
0a91bc5aa9
Filterable fields are attempted to be autodetected by using the exportable fields. Records can be filtered by fields with type select,select-cat,select-account,date,date-time (according to egw_record class) only at this time. Filters are saved in the definition and used with scheduled exports. They are also available to the user for modification in the export dialog.
18 lines
312 B
JavaScript
18 lines
312 B
JavaScript
/**
|
|
* Common functions for import / export
|
|
*/
|
|
|
|
/**
|
|
* Clear a selectbox
|
|
*/
|
|
function clear_options(id) {
|
|
var list = document.getElementById(id);
|
|
for(var count = list.options.length - 1; count >= 0; count--) {
|
|
list.options[count] = null;
|
|
}
|
|
if($j().chosen && list) {
|
|
$j(list).trigger("liszt:updated");
|
|
}
|
|
}
|
|
|