Active
Project:
DM User Picture Crop
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Nov 2013 at 11:40 UTC
Updated:
27 Nov 2013 at 11:41 UTC
Jump to comment: Most recent, Most recent file
In jCrop aspect ration value is calculated:
aspectRatio: Drupal.settings.dmupc.a_width / Drupal.settings.dmupc.a_height,
and this don't work if a_width and a_height are not numbers. Some browser ignore error and give 1, but some others crash the plugin. Casting a_height and a_width to integer solve the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | aspect-ration-operation-not-valid-2145201-1.patch | 593 bytes | mavimo |
Comments
Comment #1
mavimo commented