[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5187 - in phpcompta/tags/rel650: html/js include/templa
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5187 - in phpcompta/tags/rel650: html/js include/template |
Date: |
Thu, 14 Mar 2013 00:04:54 +0100 (CET) |
Author: danydb
Date: 2013-03-14 00:04:53 +0100 (Thu, 14 Mar 2013)
New Revision: 5187
Modified:
phpcompta/tags/rel650/html/js/acc_ledger.js
phpcompta/tags/rel650/include/template/history_top.php
phpcompta/tags/rel650/include/template/ledger_detail_top.php
Log:
esth?\195?\169tique
Modified: phpcompta/tags/rel650/html/js/acc_ledger.js
===================================================================
--- phpcompta/tags/rel650/html/js/acc_ledger.js 2013-03-13 21:10:15 UTC (rev
5186)
+++ phpcompta/tags/rel650/html/js/acc_ledger.js 2013-03-13 23:04:53 UTC (rev
5187)
@@ -564,17 +564,22 @@
querystring='gDossier='+dossier+'&act=de&pcm_val='+p_value+'&div='+id;
add_div(popup);
+
var action=new Ajax.Request(
"ajax_history.php",
{
method:'get',
parameters:querystring,
onFailure:error_box,
- onSuccess:success_box
+ onSuccess:function (req,xml)
+ {
+ success_box(req,xml);
+
g(id).style.top=calcy(140+(layer*3));
+ g(id).style.left="10%";
+ g(id).style.width='80%';
+ }
}
);
- g(id).style.top=posY-40;
- g(id).style.left=posX-10;
}
@@ -588,7 +593,13 @@
method:'get',
parameters:querystring,
onFailure:error_box,
- onSuccess:success_box
+ onSuccess:function (req,xml)
+ {
+ success_box(req,xml);
+
g(obj.div).style.top=calcy(140+(layer*3));
+ g(obj.div).style.left="10%";
+ g(obj.div).style.width='80%';
+ }
});
} catch (e)
{
@@ -618,12 +629,15 @@
method:'get',
parameters:querystring,
onFailure:error_box,
- onSuccess:success_box
+ onSuccess:function (req,xml)
+ {
+ success_box(req,xml);
+
g(id).style.top=calcy(140+(layer*3));
+ g(id).style.left="10%";
+ g(id).style.width='80%';
+ }
}
);
- g(id).style.top=posY-40;
- g(id).style.left=posX-10;
-
}
function update_history_card(obj)
@@ -636,7 +650,13 @@
method:'get',
parameters:querystring,
onFailure:error_box,
- onSuccess:success_box
+ onSuccess:function (req,xml)
+ {
+ success_box(req,xml);
+
g(obj.div).style.top=calcy(140+(layer*3));
+ g(obj.div).style.left="10%";
+ g(obj.div).style.width='80%';
+ }
});
} catch (e)
{
@@ -713,7 +733,7 @@
onSuccess:success_box
}
);
- g(id).style.top=posY-40;
+ g(id).style.top=calcy(100+(layer*3));
g(id).style.left=300;
}
Modified: phpcompta/tags/rel650/include/template/history_top.php
===================================================================
--- phpcompta/tags/rel650/include/template/history_top.php 2013-03-13
21:10:15 UTC (rev 5186)
+++ phpcompta/tags/rel650/include/template/history_top.php 2013-03-13
23:04:53 UTC (rev 5187)
@@ -4,7 +4,7 @@
{
$callback=$_SERVER['PHP_SELF'];
$str=$_SERVER['QUERY_STRING']."&act=de&ajax=$callback";
- echo '<A id="close_div" HREF="javascript:void(0)" onclick="var
a=window.open(\'popup.php?'.$str.'\',\'\',\'toolbar=0,width=600,height=400,scrollbars=yes,resizable=yes,status=0,location=0\');
a.focus();removeDiv(\''.$div.'\')">
+ echo '<A id="close_div" HREF="javascript:void(0)" onclick="var
a=window.open(\'popup.php?'.$str.'\',\'\',\'fullscreen=yes,location=no,toolbar=no,scrollbars=auto,resizable=yes,status=no,location=no\');
a.focus();removeDiv(\''.$div.'\')">
!pop me out ! </A>';
echo '<A id="close_div" HREF="javascript:void(0)"
onclick="removeDiv(\''.$div.'\');">Fermer</A>';
}
Modified: phpcompta/tags/rel650/include/template/ledger_detail_top.php
===================================================================
--- phpcompta/tags/rel650/include/template/ledger_detail_top.php
2013-03-13 21:10:15 UTC (rev 5186)
+++ phpcompta/tags/rel650/include/template/ledger_detail_top.php
2013-03-13 23:04:53 UTC (rev 5187)
@@ -3,7 +3,7 @@
if ($div != "popup") {
$callback=$_SERVER['PHP_SELF'];
$str=$_SERVER['QUERY_STRING']."&act=$action&ajax=$callback";
- echo '<A id="close_div" HREF="javascript:void(0)" onclick="var
a=window.open(\'popup.php?'.$str.'\',\'\',\'toolbar=0,width=600,height=400,scrollbars=yes,resizable=yes,status=0,location=0\');
a.focus();removeDiv(\''.$div.'\')">
+ echo '<A id="close_div" HREF="javascript:void(0)" onclick="var
a=window.open(\'popup.php?'.$str.'\',\'\',\'location=no,toolbar=no,fullscreen=yes,scrollbars=auto,resizable=yes,status=no\');
a.focus();removeDiv(\''.$div.'\')">
!pop me out ! </A>';
echo '<A id="close_div" HREF="javascript:void(0)"
onclick="removeDiv(\''.$div.'\');">Fermer</A>';
}
---
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] r5187 - in phpcompta/tags/rel650: html/js include/template,
phpcompta-dev <=