Closed (won't fix)
Project:
Imagefield Crop
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2010 at 11:39 UTC
Updated:
23 Nov 2011 at 18:45 UTC
When ratio is 1,6666667 imagefield_crop_widget.inc generate JS object as 'ratio' => (string)$ratio,
then the result is
..., "ratio" => 1,666667, ....
So this generate error in javascript engine, when you chane line 193 to 'ratio' => (string)$ratio,
the result in javascript is "ratio" => "1,66666667"
Comments
Comment #1
yhager commentedGood catch. Can you send the fix as a patch?
Comment #2
stano.lacko commentedHope, fixed in following versions.