Receivings comments and recv_invoice_format fields are updated on keyup now

This commit is contained in:
jekkos-t520
2014-10-12 12:47:45 +02:00
parent de06b64e4e
commit dad16b7a71

View File

@@ -332,12 +332,12 @@ $(document).ready(function()
$(this).attr('value',"<?php echo $this->lang->line('recvs_start_typing_supplier_name'); ?>");
});
$('#comment').change(function()
$('#comment').keyup(function()
{
$.post('<?php echo site_url("receivings/set_comment");?>', {comment: $('#comment').val()});
});
$('#recv_invoice_number').change(function()
$('#recv_invoice_number').keyup(function()
{
$.post('<?php echo site_url("receivings/set_invoice_number");?>', {recv_invoice_number: $('#recv_invoice_number').val()});
});