|
Lines 397-412
Link Here
|
| 397 |
return false; |
397 |
return false; |
| 398 |
}); |
398 |
}); |
| 399 |
|
399 |
|
| 400 |
var checkboxes = $("#inventoryt input:checkbox"); |
|
|
| 401 |
$(".checkall").click(function(e){ |
400 |
$(".checkall").click(function(e){ |
| 402 |
e.preventDefault(); |
401 |
e.preventDefault(); |
| 403 |
checkboxes.each(function(){ |
402 |
$("#inventoryt input:checkbox").each(function(){ |
| 404 |
$(this).prop("checked", true); |
403 |
$(this).prop("checked", true); |
| 405 |
}); |
404 |
}); |
| 406 |
}); |
405 |
}); |
| 407 |
$(".clearall").click(function(e){ |
406 |
$(".clearall").click(function(e){ |
| 408 |
e.preventDefault(); |
407 |
e.preventDefault(); |
| 409 |
checkboxes.each(function(){ |
408 |
$("#inventoryt input:checkbox").each(function(){ |
| 410 |
$(this).prop("checked", false); |
409 |
$(this).prop("checked", false); |
| 411 |
}); |
410 |
}); |
| 412 |
}); |
411 |
}); |
| 413 |
- |
|
|