Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #15490 -- Added some missing semicolons in admin javascript. Th…

…anks to Jonathan Slenders for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a4f791a1a63caad9106dcba08ae4091a02c94d75 1 parent 174d8db
@freakboy3742 freakboy3742 authored
View
4 django/contrib/admin/templates/admin/edit_inline/stacked.html
@@ -41,11 +41,11 @@
$(".selectfilter").each(function(index, value){
var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], false, "{% admin_media_prefix %}");
- })
+ });
$(".selectfilterstacked").each(function(index, value){
var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], true, "{% admin_media_prefix %}");
- })
+ });
}
}
var initPrepopulatedFields = function(row) {
View
4 django/contrib/admin/templates/admin/edit_inline/tabular.html
@@ -87,11 +87,11 @@
$(".selectfilter").each(function(index, value){
var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], false, "{% admin_media_prefix %}");
- })
+ });
$(".selectfilterstacked").each(function(index, value){
var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], true, "{% admin_media_prefix %}");
- })
+ });
}
}
var initPrepopulatedFields = function(row) {
Please sign in to comment.
Something went wrong with that request. Please try again.