noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/02: Task #1075 - Apparition d'une ligne vi


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/02: Task #1075 - Apparition d'une ligne vide Remove blank line + fixed position for waiting box
Date: Sat, 20 Dec 2014 16:01:36 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 346897dde5213a5f210c64cb3c9b62fa293bd15c
Author: Dany De Bontridder <address@hidden>
Date:   Sat Dec 20 13:46:08 2014 +0100

    Task #1075 - Apparition d'une ligne vide
    Remove blank line + fixed position for waiting box
---
 html/js/scripts.js |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/html/js/scripts.js b/html/js/scripts.js
index cf781d1..2aa072e 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -693,8 +693,8 @@ function waiting_box()
     obj = {
         id: 'wait_box', html: '<h2 class="title">Chargement</h2>' + loading()
     };
-    var y = fixed_position(10, 15)
-    obj.style = y + ";width:200px";
+    var y = fixed_position(10, 250)
+    obj.style = y + ";width:20%;margin-left:40%;";
     if ($('wait_box')) {
         removeDiv('wait_box');
     }
@@ -1226,9 +1226,8 @@ function search_reconcile(dossier, ctl_concern, 
amount_id, ledger, p_id_target)
     var str_style = fixed_position(77, 99);
     str_style += ";width:92%;overflow:auto;";
     waiting_box();
-    var div = {id: target, cssclass: 'inner_box', style: str_style, drag: 1};
 
-    add_div(div);
+    
     var target = {gDossier: dossier,
         ctlc: ctl_concern,
         op: 'search_op',
@@ -1247,6 +1246,8 @@ function search_reconcile(dossier, ctl_concern, 
amount_id, ledger, p_id_target)
                 onFailure: null,
                 onSuccess: function (req) {
                     remove_waiting_box();
+                    var div = {id: 'search_op', cssclass: 'inner_box', style: 
str_style, drag: 1};
+                    add_div(div);
                     $('search_op').innerHTML = req.responseText;
                     req.responseText.evalScripts();
                 }



reply via email to

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