mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 22:50:29 +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();
|
|
});
|