Commit 90507021 authored by alexandre's avatar alexandre

fix rollver issue on infos

parent cfde1704
......@@ -49,7 +49,7 @@ window.W = window.W || {};
'click .trigger_infos': 'openInfos',
'mouseover .trigger_infos_vue': 'openInfos',
'click .axis-fermer-infos': 'closeInfos',
// 'mouseout .axis-infos-vue': 'closeInfosVue',
'mouseout .trigger_infos_vue': 'closeInfosVue',
'blur #terme': 'editTextProperty',
'click #boucle': 'editTimeSequence',
//'click #boucle_check': 'setBoucleDefaults',
......@@ -442,8 +442,8 @@ window.W = window.W || {};
var infos = $target.parent().find('.axis-infos');
infos.show();
infos.css('top', $target.offset().top);
infos.css('left', $target.offset().left);
infos.css('top', $target.offset().top + 20);
infos.css('left', $target.offset().left + 20);
return false;
},
......@@ -474,8 +474,12 @@ window.W = window.W || {};
},
closeInfosVue: function(e) {
console.log("ok");
var $target = $(e.target);
$target.hide();
var infos = $target.parent().find('.axis-infos');
infos.hide();
return false;
},
......
......@@ -77,13 +77,11 @@
<input type="checkbox" name="module_" id="module_" value="1" <% if (module_) { %>checked<% } %>> modulé
</div> -->
<!-- <div>Pièce jointe</div> -->
<div>
<div>Indications</div>
<% if (indications) { %><%= indications %><% } %>
</div>
<div>
<input type="button" class="axis-fermer-infos" value="fermer" />
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment