issue #0001595 : Affichage du bouton fermer uniquement à la fin des traitements
This commit is contained in:
parent
41a3a9b9dc
commit
8d46b8cf9c
@ -109,12 +109,15 @@ function survSubmit(){
|
||||
function(data) { $('#frmSurv').append('<br/>'+data);
|
||||
}, 'text');
|
||||
});
|
||||
$('#dialogsurv').dialog({ buttons: [
|
||||
{ text: "Fermer", click: function() { window.location.href = windowhref; } }
|
||||
]});
|
||||
} else {
|
||||
$('#frmSurv').replaceWith('<div id="frmSurv">Aucune source !</div>');
|
||||
$('#dialogsurv').dialog({ buttons: [
|
||||
{ text: "Fermer", click: function() { window.location.href = windowhref; } }
|
||||
]});
|
||||
}
|
||||
$('#dialogsurv').dialog({ buttons: [
|
||||
{ text: "Fermer", click: function() { window.location.href = windowhref; } }
|
||||
]});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user