Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #4556 -- Stylistic changes to [5500]. Thanks, glin@seznam.cz.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 92ee77077300529fded493aa34a64c8516abca18 1 parent 50a3cea
Malcolm Tredinnick authored July 13, 2007
9  django/contrib/admin/media/js/admin/RelatedObjectLookups.js
@@ -31,10 +31,11 @@ function showAddAnotherPopup(triggeringLink) {
31 31
     var name = triggeringLink.id.replace(/^add_/, '');
32 32
     name = name.replace(/\./g, '___');
33 33
     href = triggeringLink.href
34  
-    if (href.indexOf('?') == -1)
35  
-	href += '?_popup=1';
36  
-    else
37  
-	href += '&_popup=1';
  34
+    if (href.indexOf('?') == -1) {
  35
+        href += '?_popup=1';
  36
+    } else {
  37
+        href  += '&_popup=1';
  38
+    }
38 39
     var win = window.open(href, name, 'height=500,width=800,resizable=yes,scrollbars=yes');
39 40
     win.focus();
40 41
     return false;

0 notes on commit 92ee770

Please sign in to comment.
Something went wrong with that request. Please try again.