Fixed #15490 -- Added some missing semicolons in admin javascript. Thanks to Jonathan Slenders for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-02-25 01:02:59 +00:00
parent 174d8db57c
commit a4f791a1a6
2 changed files with 4 additions and 4 deletions

View File

@ -41,11 +41,11 @@
$(".selectfilter").each(function(index, value){ $(".selectfilter").each(function(index, value){
var namearr = value.name.split('-'); var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], false, "{% admin_media_prefix %}"); SelectFilter.init(value.id, namearr[namearr.length-1], false, "{% admin_media_prefix %}");
}) });
$(".selectfilterstacked").each(function(index, value){ $(".selectfilterstacked").each(function(index, value){
var namearr = value.name.split('-'); var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], true, "{% admin_media_prefix %}"); SelectFilter.init(value.id, namearr[namearr.length-1], true, "{% admin_media_prefix %}");
}) });
} }
} }
var initPrepopulatedFields = function(row) { var initPrepopulatedFields = function(row) {

View File

@ -87,11 +87,11 @@
$(".selectfilter").each(function(index, value){ $(".selectfilter").each(function(index, value){
var namearr = value.name.split('-'); var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], false, "{% admin_media_prefix %}"); SelectFilter.init(value.id, namearr[namearr.length-1], false, "{% admin_media_prefix %}");
}) });
$(".selectfilterstacked").each(function(index, value){ $(".selectfilterstacked").each(function(index, value){
var namearr = value.name.split('-'); var namearr = value.name.split('-');
SelectFilter.init(value.id, namearr[namearr.length-1], true, "{% admin_media_prefix %}"); SelectFilter.init(value.id, namearr[namearr.length-1], true, "{% admin_media_prefix %}");
}) });
} }
} }
var initPrepopulatedFields = function(row) { var initPrepopulatedFields = function(row) {