Author: danydb
Date: 2012-07-08 20:58:45 +0200 (Sun, 08 Jul 2012)
New Revision: 5065

Modified:
   phpcompta/tags/rel650/html/js/scripts.js
Log:
Bug cannot create a new profile due a javascript error

Modified: phpcompta/tags/rel650/html/js/scripts.js
===================================================================
--- phpcompta/tags/rel650/html/js/scripts.js    2012-07-02 22:56:38 UTC (rev 
5064)
+++ phpcompta/tags/rel650/html/js/scripts.js    2012-07-08 18:58:45 UTC (rev 
5065)
@@ -1184,7 +1184,7 @@
                                                  
$('detail_profile').innerHTML=req.responseText;
                                                  
req.responseText.evalScripts();
                                                  $('detail_profile').show();
-                                                 
profile_show('profile_gen_div');
+                                                 if ( profile_id != "-1" ) 
profile_show('profile_gen_div');
                                          }
                                  }
                                );



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