From 39b198867d6a574d269e8cf28876a455196dbbd5 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 5 Mar 2018 22:45:58 +0100 Subject: [PATCH] Some dialog must be fixed --- html/js/scripts.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/html/js/scripts.js b/html/js/scripts.js index c0fd3c2b8..5faa766c7 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -2167,11 +2167,7 @@ function filter_table(phrase, _id, colnr, start_row) { */ function display_task(p_id) { - new Draggable(p_id, {starteffect: function () - { - new Effect.Highlight(obj.id, {scroll: window, queue: 'end'}); - }} - ); + $(p_id).style.top = posY + 'px'; $(p_id).style.left = "10%"; $(p_id).style.width = "80%"; @@ -2755,8 +2751,8 @@ function calendar_zoom(obj) obj.outdiv = 'calendar_zoom_div'; } if ($(obj.outdiv) == undefined) { - var str_style = fixed_position(0, 20); - add_div({id: obj.outdiv, style: 'margin-left:3%;width:94%;' + str_style, cssclass: "inner_box", drag: 1}); + var str_style = fixed_position(0, 220); + add_div({id: obj.outdiv, style: 'margin-left:3%;width:94%;' + str_style, cssclass: "inner_box", drag: 0}); } remove_waiting_box(); $(obj.outdiv).innerHTML = code_html;