mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 20:47:15 +01:00
22 lines
584 B
JavaScript
22 lines
584 B
JavaScript
|
var DocumentBatch = function ($) {
|
||
|
"use strict";
|
||
|
|
||
|
var me = {
|
||
|
init: function () {
|
||
|
$('#checkall').on('change',function(){
|
||
|
$('#documentbatches_orders').find('input.select').prop('checked', $(this).prop('checked'));
|
||
|
});
|
||
|
$('#checkallinwork').on('change',function(){
|
||
|
$('#documentbatches_inwork').find('input.select').prop('checked', $(this).prop('checked'));
|
||
|
});
|
||
|
}
|
||
|
};
|
||
|
return {
|
||
|
init: me.init
|
||
|
}
|
||
|
}(jQuery);
|
||
|
|
||
|
$(document).ready(function () {
|
||
|
DocumentBatch.init();
|
||
|
});
|