From bc4c6e47a8efee76a703587aa383f2b797c5c271 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 8 Jul 2011 17:38:46 +0200 Subject: [PATCH] =?UTF-8?q?on=20peut=20maintenant=20sp=C3=A9cifier=20un=20?= =?UTF-8?q?z-index=20pour=20le=20panehover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/javascripts/admin/pane_hover.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/admin/pane_hover.js b/app/assets/javascripts/admin/pane_hover.js index 11c39f1..20c6e18 100644 --- a/app/assets/javascripts/admin/pane_hover.js +++ b/app/assets/javascripts/admin/pane_hover.js @@ -1,9 +1,9 @@ -function show_pane_hover(content, width, height){ +function show_pane_hover(content, width, height, zindex){ var width = width || 500; var height = height || 500; - + var zindex = zindex || 1000; initialize_pane_hover() @@ -11,7 +11,7 @@ function show_pane_hover(content, width, height){ $('#qi_pane_hover_content').html(content); - $('#qi_pane_hover_content').css({"width" : width+"px","height" : height+"px"}); + $('#qi_pane_hover_content').css({"width" : width+"px","height" : height+"px","z-index" : zindex}); $('#qi_pane_hover_content .actions').prepend('Annuler');