[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5192 - phpcompta/tags/rel650/html/js
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5192 - phpcompta/tags/rel650/html/js |
Date: |
Wed, 27 Mar 2013 19:54:38 +0100 (CET) |
Author: danydb
Date: 2013-03-27 19:54:37 +0100 (Wed, 27 Mar 2013)
New Revision: 5192
Modified:
phpcompta/tags/rel650/html/js/acc_ledger.js
Log:
cosmetic : width div for operation detail
Modified: phpcompta/tags/rel650/html/js/acc_ledger.js
===================================================================
--- phpcompta/tags/rel650/html/js/acc_ledger.js 2013-03-25 22:42:49 UTC (rev
5191)
+++ phpcompta/tags/rel650/html/js/acc_ledger.js 2013-03-27 18:54:37 UTC (rev
5192)
@@ -713,29 +713,31 @@
/*!\brief
* \param p_value jrn.jr_id
*/
-function modifyOperation(p_value,dossier)
+function modifyOperation(p_value, dossier)
{
- 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);
- var action=new Ajax.Request(
- "ajax_ledger.php",
- {
- method:'get',
- parameters:querystring,
- onFailure:error_box,
- onSuccess:success_box
- }
- );
- g(id).style.top=calcy(100+(layer*3));
- g(id).style.left=300;
-
+ 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);
+ var action = new Ajax.Request(
+ "ajax_ledger.php",
+ {
+ method: 'get',
+ parameters: querystring,
+ onFailure: error_box,
+ onSuccess: function(xml, txt) {
+ success_box(xml, txt);
+ g(id).style.top = calcy(100 + (layer *
3));
+ g(id).style.left = '10%';
+ g(id).style.width = "80%";
+ }
+ }
+ );
}
/*!\brief
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5192 - phpcompta/tags/rel650/html/js,
phpcompta-dev <=