noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 03/09: Esthétique : animation for todo list


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/09: Esthétique : animation for todo list
Date: Sun, 17 May 2015 15:10:26 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 448555a3f2dcf458583a1666950c2360fe040400
Author: Dany De Bontridder <address@hidden>
Date:   Sat May 16 18:59:47 2015 +0200

    Esthétique : animation for todo list
---
 html/js/todo_list.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/html/js/todo_list.js b/html/js/todo_list.js
index 4d8cbef..0b8b630 100644
--- a/html/js/todo_list.js
+++ b/html/js/todo_list.js
@@ -27,9 +27,11 @@
  */
 function todo_list_show(p_id)
 {
+    waiting_box();
     var gDossier=$('gDossier').value;
     $('add_todo_list').style.top=(posY+offsetY)+'px';
     $('add_todo_list').style.left=(posX+offsetX-200)+'px';
+     $('add_todo_list').hide();
 
     try
     {
@@ -58,6 +60,7 @@ function todo_list_show_success(req)
 {
     try
     {
+       
         var answer=req.responseXML;
         var tl_id=answer.getElementsByTagName('tl_id');
         var tl_title=answer.getElementsByTagName('tl_title');
@@ -69,12 +72,13 @@ function todo_list_show_success(req)
             var rec=req.responseText;
             alert ('erreur :'+rec);
         }
+        remove_waiting_box();
 
         $('p_title').value=getNodeText(tl_title[0]);
         $('p_date_todo').value=getNodeText(tl_date[0]);
         $('p_desc').value=getNodeText(tl_desc[0]);
         $('tl_id').value=getNodeText(tl_id[0]);
-        $('add_todo_list').style.display='block';
+        Effect.Grow('add_todo_list',{duration:0.3});
     }
     catch (e)
     {



reply via email to

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