Lines 420-426
$(document).ready(function() {
Link Here
|
420 |
</div>\ |
420 |
</div>\ |
421 |
"); |
421 |
"); |
422 |
|
422 |
|
423 |
$("#suspend-modal-clear-date").on( "click", function() { $("#suspend-modal-until").val(""); } ); |
423 |
$("#suspend-modal-clear-date").on( "click", function() { $(".suspend-until").val(""); } ); |
424 |
|
424 |
|
425 |
$("#suspend-modal-submit").on( "click", function( e ) { |
425 |
$("#suspend-modal-submit").on( "click", function( e ) { |
426 |
e.preventDefault(); |
426 |
e.preventDefault(); |
Lines 440-446
$(document).ready(function() {
Link Here
|
440 |
} |
440 |
} |
441 |
holdsTable.api().ajax.reload(); |
441 |
holdsTable.api().ajax.reload(); |
442 |
}).done(function() { |
442 |
}).done(function() { |
443 |
$("#suspend-modal-until").val(""); // clean the input |
443 |
$(".suspend-until").val(""); // clean the input |
444 |
$('#suspend-modal').modal('hide'); |
444 |
$('#suspend-modal').modal('hide'); |
445 |
}); |
445 |
}); |
446 |
}); |
446 |
}); |
447 |
- |
|
|