X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..ab6a501f08eb3751c87398a87711c4072709407a:/forum/skins/default/templates/user.html diff --git a/forum/skins/default/templates/user.html b/forum/skins/default/templates/user.html index c1998f8..5ff0d80 100644 --- a/forum/skins/default/templates/user.html +++ b/forum/skins/default/templates/user.html @@ -23,20 +23,6 @@ $("#nav_users").attr('className',"on"); {% endifequal %} }); - - $(document).ready( function(){ - var options = { - success: function(a,b){$('.admin #action_status').html($.i18n._('changes saved'));}, - dataType:'json', - timeout:5000, - url: scriptUrl + $.i18n._('moderate-user/') + viewUserID + '/' - }; - var form = $('.admin #moderate_user_form').ajaxForm(options); - var box = $('.admin input#id_is_approved').click(function(){ - $('.admin #action_status').html($.i18n._('sending data...')); - form.ajaxSubmit(options); - }); - }); {% block userjs %} {% endblock %}