|
Lines 32-42
function checkForm() {
Link Here
|
| 32 |
$(document).ready(function(){ |
32 |
$(document).ready(function(){ |
| 33 |
inventorydt = $('#inventoryt').dataTable($.extend(true, {}, dataTablesDefaults, { |
33 |
inventorydt = $('#inventoryt').dataTable($.extend(true, {}, dataTablesDefaults, { |
| 34 |
'sPaginationType': 'full_numbers', |
34 |
'sPaginationType': 'full_numbers', |
| 35 |
[% IF compareinv2barcd %] |
|
|
| 36 |
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 1 ] } ], |
| 37 |
[% ELSE %] |
| 38 |
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] } ], |
| 39 |
[% END %] |
| 40 |
'fnDrawCallback': function() { |
35 |
'fnDrawCallback': function() { |
| 41 |
//bind the click handler script to the newly created elements held in the table |
36 |
//bind the click handler script to the newly created elements held in the table |
| 42 |
$('.openWin').bind('click',function(e){ |
37 |
$('.openWin').bind('click',function(e){ |
| 43 |
- |
|
|