summaryrefslogtreecommitdiff
path: root/js/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ajax.js')
-rw-r--r--js/ajax.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/ajax.js b/js/ajax.js
index e3bb2f88..a063890b 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -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,