]> git.openstreetmap.org Git - osqa.git/commitdiff
Javascript error in profile pages.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 13 May 2010 03:07:55 +0000 (03:07 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 13 May 2010 03:07:55 +0000 (03:07 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@251 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/user.html

index c1998f82060582153f94679165e25a7b17e8f8b1..5ff0d80946f27c86bbecbc2dfe28e0dde9f98e84 100644 (file)
                 $("#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);
-            });
-        });
     </script>
     {% block userjs %}
     {% endblock %}