#What is this directory?

This directory contains a patched version of fusioncharts V3.3.1.

The patched version fixes

1.  issues with drag and drop
2.  adds a workaround for a bug in Mozilla Firefox

## The drag and drop patch
The original version breaks drag & drop functionality in Aurea CRM web.

The fusion charts library aggressively replaces the default drag & drop events with their own implementation (in jQuery.event.special).

The following sequence illustrates the problem:

1. We bind to drag events (e.g. through a call to .draggable() and or .droppable())
2. Then fusioncharts is loaded onto the page (which overrides the events)
3. We unbind from events (e.g. during dispose)
4. The custom fusioncharts event handler for `drag`, `draginit`, `dragstart` or `dragend` causes a javascript error, because he tries to unbind an event he didn't bind.

## The Mozilla Firefox patch
This bug causes charts to be not rendered or to disappear when they are rendered within an invisble `<iframe/>` element.

The bug exists for a while: [See bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=733698) for details.

## History
* **GS20121203** :
applied another patch now, which prevents fusioncharts from installing it's bogus drag and drop events.

* **KV20130619** :
applied fusioncharts V3.3.1, so this patch is no longer required. This update also fixes the problem creating a "Drag Node" chart (PVCS #79389).

* **GS20140326** :
re-enabled patched version because the assumption that the drag & drop handlers were fixed with V3.3.1 was proven false.

* **GS20140717** :
added workaround for [a bug](https://bugzilla.mozilla.org/show_bug.cgi?id=733698) in firefox (PVCS #84086).

* **GS20141114** :
updated to version V3.5.

* **LB20150420** : 
updated to version V3.7.
added workaround for [CRM-1632](http://jira.aurea.local/browse/CRM-1632) to fix drill down on funnel charts

##See also
PVCS #74901, PVCS #83033, PVCS #84086

added version postscript in FusionChart javascript filenames for [CRM-71891](https://jira.devfactory.com/browse/CRM-71891) to allow automatic cache invalidation of FusionCharts js files.
