Javascript correction

This commit is contained in:
Michael RICOIS 2012-11-06 10:15:24 +00:00
parent b92f2b1019
commit f237db692b

View File

@ -25,11 +25,12 @@ $('#dialog').dialog({
buttons: [ {
text: "Enregistrer",
click: function() {
$('#result').html('Enregistrement...');
var options = {
target: '#result',
dataType: 'json',
beforeSubmit: function(){},
beforeSubmit: function(){
$('#result').html('Enregistrement...');
},
success: function(data){
if (data.error == 0) {
$('#result').html(data.msg);