Ajout script pour dialog demande de référence dans l'enrichissement
This commit is contained in:
parent
1e678a2311
commit
6bdf5bfa6e
@ -29,5 +29,27 @@ $(document).ready(function(){
|
||||
});
|
||||
});
|
||||
|
||||
$('#enrichissementref').on('click', function(){
|
||||
var title = "Commande d'un enrichissment";
|
||||
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() { $('#dialog').remove(); }
|
||||
};
|
||||
$('<div id="dialog"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
});
|
Loading…
Reference in New Issue
Block a user