From 4c63fbcb3e43afa7a5ee9cbe5024737b3318613c Mon Sep 17 00:00:00 2001 From: hernani Date: Thu, 13 May 2010 03:07:55 +0000 Subject: [PATCH] Javascript error in profile pages. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@251 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/user.html | 14 -------------- 1 file changed, 14 deletions(-) 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 %} -- 2.39.5