Opened 15 years ago

Closed 15 years ago

#2821 closed Bug (fixed)

floating numbers used in the page confuguration are converted to int

Reported by: Alfonso Martínez de Lizarrondo Owned by: Alfonso Martínez de Lizarrondo
Priority: Normal Milestone: FCKeditor 2.6.5
Component: General Version: FCKeditor 2.3.2
Keywords: Review+ Cc:

Description

If you set in the page that creates the editor a config option that uses a floating point number,

oFCKeditor.Config['GoogleMaps_CenterLat'] = "46.95026";

then in the code the value will be the integer 46 due to the way that it's parsed in the fckconfig.js file.

The patch does fix this behavior.

Attachments (1)

2821.patch (1.2 KB) - added by Alfonso Martínez de Lizarrondo 15 years ago.
Proposed patch

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by Alfonso Martínez de Lizarrondo

Attachment: 2821.patch added

Proposed patch

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:2 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.6.5
Resolution: fixed
Status: newclosed

This was fixed on March 20th with [3259]

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy