aamalig / django-profile

Automatically exported from code.google.com/p/django-profile
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Avatar-crop not compatible with jQuery 1.3.2 #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add jQuery-1.3.2.min.js to the project's media
2. Modify base.html accordingly to use jQuery 1.3.2 instead of 1.2.6
3. Try Cropping a file-uploaded avatar

What is the expected output? What do you see instead?
TypeError at /accounts/profile/edit/avatar/crop/
int() argument must be a string or a number, not 'NoneType'

It seems that jquery.imgareaselect-0.4.2.min.js doesn't return the values
for cropping?

Tried it on django-profile 0.60 on Windows XP with Python 2.5 and Django 1.1

Original issue reported on code.google.com by a.pfren...@gmail.com on 22 Dec 2009 at 5:07

GoogleCodeExporter commented 8 years ago
It's corrected in trunk since r402

Original comment by stephane.angel on 26 Apr 2010 at 4:25