[buddypress-trac] [BuddyPress] #5245: bp_core_add_cropper_inline_js : float formatting conflict with javascript array
buddypress-trac
noreply at wordpress.org
Fri Nov 15 20:16:03 UTC 2013
#5245: bp_core_add_cropper_inline_js : float formatting conflict with javascript
array
--------------------------+---------------------------
Reporter: olivM | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 1.9
Component: Core | Version: 1.8.1
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7571"]:
{{{
#!CommitTicketReference repository="" revision="7571"
Round calculated image sizes before concatenating cropper JS
Rounding to an integer ensures that we don't have problems with decimal-
point
localization, which can produce JS parse errors.
Fixes #5245
Props olivM
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5245#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list