This commit is contained in:
Michael Foster 2013-09-15 20:15:17 +10:00
parent 873820dae8
commit 30fb025eef
2 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ $(window).ready(function() {
processData: false
}, 'html');
}
$(form).find('input[type="submit"]').val('Posted...');
$(form).find('input[type="submit"]').val(_('Posted...'));
} else {
alert(_('An unknown error occured when posting!'));
$(form).find('input[type="submit"]').val(submit_txt);
@ -96,7 +96,6 @@ $(window).ready(function() {
});
$(form).submit();
},
// Form data
data: formData,
cache: false,
contentType: false,