From dad16b7a7197c30e0c7cb5d227fdbf9308119861 Mon Sep 17 00:00:00 2001 From: jekkos-t520 Date: Sun, 12 Oct 2014 12:47:45 +0200 Subject: [PATCH] Receivings comments and recv_invoice_format fields are updated on keyup now --- application/views/receivings/receiving.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/receivings/receiving.php b/application/views/receivings/receiving.php index 8b67cec3d..4f30311cf 100644 --- a/application/views/receivings/receiving.php +++ b/application/views/receivings/receiving.php @@ -332,12 +332,12 @@ $(document).ready(function() $(this).attr('value',"lang->line('recvs_start_typing_supplier_name'); ?>"); }); - $('#comment').change(function() + $('#comment').keyup(function() { $.post('', {comment: $('#comment').val()}); }); - $('#recv_invoice_number').change(function() + $('#recv_invoice_number').keyup(function() { $.post('', {recv_invoice_number: $('#recv_invoice_number').val()}); });