mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on Javascript front end
This commit is contained in:
parent
df5778c3c5
commit
94181908bd
@ -94,12 +94,15 @@ $(function() {
|
|||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
$('.pay_invoices').attr("disabled", true);
|
||||||
|
$('.download_invoices').attr("disabled", true);
|
||||||
|
|
||||||
$("#datatable").on('change', 'input[type=checkbox]', function() {
|
$("#datatable").on('change', 'input[type=checkbox]', function() {
|
||||||
var selected = [];
|
var selected = [];
|
||||||
$.each($("input[name='hashed_ids[]']:checked"), function(){
|
$.each($("input[name='hashed_ids[]']:checked"), function(){
|
||||||
selected.push($(this).val());
|
selected.push($(this).val());
|
||||||
});
|
});
|
||||||
alert("Selected hashed_ids: " + selected.join(", "));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#table_filter').on('keyup', function(){
|
$('#table_filter').on('keyup', function(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user