From 30fb025eef81421b1dbb8b0f31d5f4d7360e1e36 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 15 Sep 2013 20:15:17 +1000 Subject: [PATCH] ; --- js/ajax.js | 3 +-- post.php | 3 ++- 2 files changed, 3 insertions(+), 3 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, diff --git a/post.php b/post.php index 0bc26f46..026e2b2d 100644 --- a/post.php +++ b/post.php @@ -1,5 +1,7 @@