32 lines
723 B
JavaScript
Raw Normal View History

2011-11-07 13:20:19 +00:00
$(document).ready(function(){
2011-09-28 08:44:27 +00:00
2012-01-03 07:26:04 +00:00
$('#message').hover(
function(){ $('#control').css('display', 'block'); },
function(){ $('#control').css('display', 'none'); }
);
$('#saveciblage').on('click', function(){
var title = 'Sauvegarde du profil de ciblage';
var href = $(this).attr('href');
var dialogOpts = {
bgiframe: true,
title: title,
width: 500,
height: 200,
modal: true,
open: function(event, ui) {
$(this).html('Chargement...');
$(this).load(href);
},
buttons: {
Annuler: function() { $(this).dialog('close'); }
},
close: function() { $('#dialogsaveciblage').remove(); }
};
$('<div id="dialogsaveciblage"></div>').dialog(dialogOpts);
return false;
});
2011-12-14 14:27:21 +00:00
});