X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c9c3cb4c714911710f606f8dc47d5e65707aff67..677944df3891cad7fc223ef9a6a6b598a81b5081:/forum/skins/default/media/js/osqa.admin.js diff --git a/forum/skins/default/media/js/osqa.admin.js b/forum/skins/default/media/js/osqa.admin.js index ee4feed..ccd7103 100644 --- a/forum/skins/default/media/js/osqa.admin.js +++ b/forum/skins/default/media/js/osqa.admin.js @@ -58,12 +58,22 @@ $(function() { $input.keyup(rewrite_anchor); rewrite_anchor(); }); + + $('#test_email_settings a.test_button').click(function() { + $('div.test_status').hide('slow') + $('div.ajax_indicator').show('fast') + $.post($(this).attr('href'), function(data) { + $('div.ajax_indicator').hide('fast') + $('div.test_status').html(data) + $('div.test_status').show('slow') + }) + }) }); /* * Autocomplete - jQuery plugin 1.0.3 * - * Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer + * Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, J�rn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php