Permalink
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...
1 parent 174d8db commit a4f791a1a63caad9106dcba08ae4091a02c94d75 @freakboy3742 freakboy3742 committed Feb 25, 2011
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) {

0 comments on commit a4f791a

Please sign in to comment.