Author: danydb
Date: 2012-02-07 18:50:55 +0100 (Tue, 07 Feb 2012)
New Revision: 4762

Modified:
   phpcompta/tags/rel600/html/js/acc_ledger.js
Log:
FIN : add item , new column card name, change func for adding row

Modified: phpcompta/tags/rel600/html/js/acc_ledger.js
===================================================================
--- phpcompta/tags/rel600/html/js/acc_ledger.js 2012-02-07 15:50:24 UTC (rev 
4761)
+++ phpcompta/tags/rel600/html/js/acc_ledger.js 2012-02-07 17:50:55 UTC (rev 
4762)
@@ -248,6 +248,7 @@
         var tt=rowToCopy.cells[e].innerHTML;
         var new_tt=tt.replace(/e_other0/g,"e_other"+nb.value);
         
new_tt=new_tt.replace(/e_other0_comment/g,"e_other"+nb.value+'_comment');
+        new_tt=new_tt.replace(/e_other_name0/g,"e_other_name"+nb.value);
         new_tt=new_tt.replace(/e_other0_amount/g,"e_other"+nb.value+'_amount');
         new_tt=new_tt.replace(/e_concerned0/g,"e_concerned"+nb.value);
         new_tt=new_tt.replace(/e_other0_label/g,"e_other"+nb.value+'_label');
@@ -255,6 +256,7 @@
         new_tt.evalScripts();
     }
     g("e_other"+nb.value).value="";
+    g("e_other_name"+nb.value).value="";
     g("e_other"+nb.value+'_amount').value="0";
     g("e_other"+nb.value+'_comment').value="";
     g("e_concerned"+nb.value).value="";



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu

_______________________________________________
Phpcompta  est un logiciel libre de comptabilité en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to