Author: danydb
Date: 2013-06-05 18:12:33 +0200 (Wed, 05 Jun 2013)
New Revision: 5317

Modified:
   phpcompta/tags/rel660/html/js/acc_ledger.js
Log:
bug #0000851: bug avec % dans d?\195?\169tail op?\195?\169ration

Modified: phpcompta/tags/rel660/html/js/acc_ledger.js
===================================================================
--- phpcompta/tags/rel660/html/js/acc_ledger.js 2013-06-04 18:47:34 UTC (rev 
5316)
+++ phpcompta/tags/rel660/html/js/acc_ledger.js 2013-06-05 16:12:33 UTC (rev 
5317)
@@ -774,13 +774,9 @@
 {
        layer++;
        id = 'det' + layer;
-       var popup = {'id':
-                               id, 'cssclass': 'inner_box'
-                               , 'html':
-                               loading(), 'drag':
-                               true};
-       querystring = 'gDossier=' + dossier + '&act=de&jr_id=' + p_value + 
'&div=' + id;
-       add_div(popup);
+       waiting_box();
+       var querystring = 'gDossier=' + dossier + '&act=de&jr_id=' + p_value + 
'&div=' + id;
+
        var action = new Ajax.Request(
                        "ajax_ledger.php",
                        {
@@ -788,6 +784,10 @@
                                parameters: querystring,
                                onFailure: error_box,
                                onSuccess: function(xml, txt) {
+                                       var popup = {'id':id, 'cssclass': 
'inner_box'
+                                                               , 'html':"", 
'drag':true};
+                                       remove_waiting_box();
+                                       add_div(popup);
                                        success_box(xml, txt);
                                        g(id).style.top = calcy(100 + (layer * 
3));
                                        g(id).style.left = '10%';
@@ -953,11 +953,9 @@
 {
        try {
     var queryString=$(obj).serialize();
-    queryString+="&lib="+obj.lib.value;
     queryString+="&gDossier="+obj.gDossier.value;
     var rapt2="rapt"+obj.whatdiv.value;
     queryString+="&rapt="+g(rapt2).value;
-    queryString+="&npj="+obj.npj.value;
     queryString+='&jr_id='+obj.jr_id.value;
     queryString+='&div='+obj.whatdiv.value;
     queryString+='&act=save';



---
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