Revision 10816362
Added by Alexander Oppermann almost 11 years ago
7.x/modules/cdm_dataportal/cdm_csv_export/js/cdm_csv_export.js | ||
---|---|---|
49 | 49 |
jQuery("#checkall").click(function () { |
50 | 50 |
jQuery(this).parents("fieldset:eq(0)").find(":checkbox").attr("checked", this.checked); |
51 | 51 |
}); |
52 |
}); |
|
52 |
}); |
|
53 |
|
|
54 |
/** |
|
55 |
* function to sort all checkboxes |
|
56 |
* in a alpanumerical way |
|
57 |
*/ |
|
58 |
|
|
59 |
//var elements = jQuery('input'); |
|
60 |
//var sorted = jQuery(jQuery(elements).toArray().sort(function(a, b) { |
|
61 |
// return a.value > b.value; |
|
62 |
//})); |
|
63 |
// |
|
64 |
//jQuery(elements).each(function(i) { |
|
65 |
// jQuery(this).after(jQuery(sorted).eq(i)); |
|
66 |
//}); |
Also available in: Unified diff
*vaadin integration