Fixed #13388 - Refined changes made in r12384 in the JavaScript i18n admin view.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-05-02 19:46:31 +00:00
parent cb02b92f85
commit 43bf086783
2 changed files with 32 additions and 3 deletions

View file

@ -219,7 +219,7 @@ def javascript_catalog(request, domain='djangojs', packages=None):
except IOError:
catalog = None
if catalog is not None:
t.update(catalog._catalog)
t = catalog._catalog
src = [LibHead]
plural = None
if '' in t: