pombreda / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

grappelli.initTableElements(); still present in the change_list.html template after removing the function #366

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which DJANGO-VERSION are you using?
1.3

Which GRAPPELLI-VERSION are you using?
2.3.3 (r1430)

Which BROWSER (including the version) are you using?
Chrome 11.0.696.65 and Firefox 4.0.1 (Both on MacOSX 10.6.7)

What steps will reproduce the problem?
1. Go to any page that is using the admin/change_list.html template, there's a 
javascript error.

The BUG was introduce by the commit [r1422], the js function 
"grappelli.initTableElements" has been commented in grappelli.js but it's still 
called in the change_list.html template: 
http://code.google.com/p/django-grappelli/source/browse/trunk/grappelli/template
s/admin/change_list.html#67

To fix the issue, simply remove the line 67:
grappelli.initTableElements(); // HACK: add no-wrap to table-elements.

Original issue reported on code.google.com by thomas.d...@gmail.com on 12 May 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Fixed in r1431

Original comment by thomas.d...@gmail.com on 17 May 2011 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 21 May 2011 at 8:32