Javascript correction
This commit is contained in:
parent
b92f2b1019
commit
f237db692b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user