fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [9371] property: invoice: refresh process_log


From: Sigurd Nes
Subject: [Fmsystem-commits] [9371] property: invoice: refresh process_log
Date: Fri, 11 May 2012 10:50:06 +0000

Revision: 9371
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9371
Author:   sigurdne
Date:     2012-05-11 10:50:04 +0000 (Fri, 11 May 2012)
Log Message:
-----------
property: invoice: refresh process_log

Modified Paths:
--------------
    trunk/property/js/portico/ajax_invoice.js

Modified: trunk/property/js/portico/ajax_invoice.js
===================================================================
--- trunk/property/js/portico/ajax_invoice.js   2012-05-11 10:15:23 UTC (rev 
9370)
+++ trunk/property/js/portico/ajax_invoice.js   2012-05-11 10:50:04 UTC (rev 
9371)
@@ -412,7 +412,15 @@
                                $("#b_account_id").val( voucher[0].b_account_id 
);
                                $("#dim_a").val( voucher[0].dim_a );
                                $("#currency").html( voucher[0].currency );
-                               $("#process_log").html( 
data['generic'].process_log );
+                               
+                               if(data['generic'].process_log != null)
+                               {
+                                       $("#process_log").html( 
data['generic'].process_log );
+                               }
+                               else
+                               {
+                                       $("#process_log").html( '' );
+                               }
                                $("#my_initials").val( 
data['generic'].my_initials );
                                $("#sign_orig").val( data['generic'].sign_orig 
);
                                $("#line_text").val( voucher[0].line_text );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]