From 242e8177bf24f051cce69f43ba8fe65e586df7cd Mon Sep 17 00:00:00 2001 From: Zain Memon Date: Mon, 6 Jul 2009 03:49:45 +0000 Subject: [PATCH] [soc2009/admin-ui] prevent selector-inlines from jumping the page to the top when selecting a different inline git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11196 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/edit_inline/selector.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/edit_inline/selector.html b/django/contrib/admin/templates/admin/edit_inline/selector.html index 503ecc98e3..d2175bd980 100644 --- a/django/contrib/admin/templates/admin/edit_inline/selector.html +++ b/django/contrib/admin/templates/admin/edit_inline/selector.html @@ -107,7 +107,7 @@ $(function() { $(this).addClass('inline-selected'); var div_to_show = '#' + $(this).find('a').attr('title'); - $(div_to_show).fadeIn('normal'); + $(div_to_show).show(); return false; });