noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 303/323: Some dialog must be fixed but dragga


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 303/323: Some dialog must be fixed but draggable
Date: Wed, 14 Mar 2018 17:39:08 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 004f627e6eadef2dd9d83eaf0ca052e268844fcf
Author: Dany De Bontridder <address@hidden>
Date:   Mon Mar 5 23:35:56 2018 +0100

    Some dialog must be fixed but draggable
---
 html/js/scripts.js                        | 3 ++-
 include/ajax/ajax_calendar_zoom.php       | 5 ++++-
 include/template/action_display_short.php | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/html/js/scripts.js b/html/js/scripts.js
index 5faa766..94fb14b 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -2751,7 +2751,8 @@ function calendar_zoom(obj)
                             obj.outdiv = 'calendar_zoom_div';
                         }
                         if ($(obj.outdiv) == undefined) {
-                            var str_style = fixed_position(0, 220);
+                            var str_style = 'top:10%;margin-left:2%;';
+//                            var str_style = fixed_position(0, 120);
                             add_div({id: obj.outdiv, style: 
'margin-left:3%;width:94%;' + str_style, cssclass: "inner_box", drag: 0});
                         }
                         remove_waiting_box();
diff --git a/include/ajax/ajax_calendar_zoom.php 
b/include/ajax/ajax_calendar_zoom.php
index 6d5ebe7..4639e52 100644
--- a/include/ajax/ajax_calendar_zoom.php
+++ b/include/ajax/ajax_calendar_zoom.php
@@ -27,7 +27,10 @@ require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
 $http=new HttpInput();
 
 ob_start();
-if ( $notitle== 0 ) echo HtmlInput::title_box(_("Calendrier"), 
"calendar_zoom_div");
+if ($notitle==0)
+{
+    echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div", "close", 
"", "y");
+}
 $cal=new Calendar();
 $in=$http->get('in',"string","");
 $notitle=$http->get('notitle',"string","0");
diff --git a/include/template/action_display_short.php 
b/include/template/action_display_short.php
index bcea6f9..2afec05 100644
--- a/include/template/action_display_short.php
+++ b/include/template/action_display_short.php
@@ -78,7 +78,7 @@ $dest->style=' style="vertical-align:0%"';
 $hour=new IText('hour_event');
 $hour->size=5;
 
-echo HtmlInput::title_box(_('Nouvel événement'), 'action_add_div');
+echo HtmlInput::title_box(_('Nouvel événement'), 
'action_add_div',"close","","y");
 ?>
 <span class="notice" style="float:right" id="action_add_frm_info"></span>
 <form method="get" style="margin-left:5%;margin-right: 10%"  
id="action_add_frm" onsubmit="action_save_short(<?php echo 
Dossier::id()?>);return false">



reply via email to

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