Browse files

[1.2.X] Fixed #15490 -- Added some missing semicolons in admin javasc…

…ript. Thanks to Jonathan Slenders for the report and patch.

Backport of r15641 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 062cbfb commit 5b342d7c30339958e38a4c90b9769d6a3280ecdd @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 5b342d7

Please sign in to comment.