phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5205 - in phpcompta/tags/rel650: html/js include/templa


From: phpcompta-dev
Subject: [Phpcompta-dev] r5205 - in phpcompta/tags/rel650: html/js include/template
Date: Thu, 28 Mar 2013 22:58:35 +0100 (CET)

Author: danydb
Date: 2013-03-28 22:58:34 +0100 (Thu, 28 Mar 2013)
New Revision: 5205

Modified:
   phpcompta/tags/rel650/html/js/acc_ledger.js
   phpcompta/tags/rel650/html/js/anc_script.js
   phpcompta/tags/rel650/html/js/scripts.js
   phpcompta/tags/rel650/include/template/ledger_detail_bottom.php
Log:
Cannot save a detail operation

Modified: phpcompta/tags/rel650/html/js/acc_ledger.js
===================================================================
--- phpcompta/tags/rel650/html/js/acc_ledger.js 2013-03-28 17:54:15 UTC (rev 
5204)
+++ phpcompta/tags/rel650/html/js/acc_ledger.js 2013-03-28 21:58:34 UTC (rev 
5205)
@@ -891,10 +891,11 @@
 address@hidden save an operation in ajax, it concerns only the
 * comment, the pj and the rapt
 * the form elements are access by their name
address@hidden form
address@hidden obj form
 */
 function op_save(obj)
 {
+       try {
     var queryString=$(obj).serialize();
     queryString+="&lib="+obj.lib.value;
     queryString+="&gDossier="+obj.gDossier.value;
@@ -929,6 +930,8 @@
                                     );
     }
     return false;
+       } catch (e)
+       { alert(e.message);}
 }
 function  get_history_account(ctl,dossier) {
        if ( $(ctl).value != '')

Modified: phpcompta/tags/rel650/html/js/anc_script.js
===================================================================
--- phpcompta/tags/rel650/html/js/anc_script.js 2013-03-28 17:54:15 UTC (rev 
5204)
+++ phpcompta/tags/rel650/html/js/anc_script.js 2013-03-28 21:58:34 UTC (rev 
5205)
@@ -124,6 +124,9 @@
  */
 function verify_ca(div)
 {
+       try
+       {
+
     var idx=0;
     var amount_error=0;
     // put a maximum
@@ -168,6 +171,12 @@
         return false;
     }
     return true;
+       }
+       catch  (e)
+       {
+               alert(e.message);
+               return false;
+       }
 }
 /*!
  * \brief open a window for searching a CA account,
@@ -209,7 +218,7 @@
         }
     }
     );
-    
+
 }
 function search_anc_form(obj)
 {

Modified: phpcompta/tags/rel650/html/js/scripts.js
===================================================================
--- phpcompta/tags/rel650/html/js/scripts.js    2013-03-28 17:54:15 UTC (rev 
5204)
+++ phpcompta/tags/rel650/html/js/scripts.js    2013-03-28 21:58:34 UTC (rev 
5205)
@@ -1092,7 +1092,7 @@
        var target="search_op";
        removeDiv(target);
        var str_style=fixed_position(77, 99);
-        str_style+=";width:80%";
+        str_style+=";width:92%;overflow:auto;";
 
     var div={id:target, 
cssclass:'inner_box',style:str_style,html:loading(),drag:1};
 

Modified: phpcompta/tags/rel650/include/template/ledger_detail_bottom.php
===================================================================
--- phpcompta/tags/rel650/include/template/ledger_detail_bottom.php     
2013-03-28 17:54:15 UTC (rev 5204)
+++ phpcompta/tags/rel650/include/template/ledger_detail_bottom.php     
2013-03-28 21:58:34 UTC (rev 5205)
@@ -71,9 +71,11 @@
                }
        }
        echo '</ul>';
+
+       echo '</div>';
 }
 ?>
-</div>
+
 <?
 
 require_once('template/ledger_detail_file.php');



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



reply via email to

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