Check the selection passed into setSelection in the selection plugin, to guard against errors when synchronizing plots (fix by Lau Bech Lauritzen).

git-svn-id: https://flot.googlecode.com/svn/trunk@246 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 16 years ago
parent 479fa27850
commit e131b77618

@ -39,6 +39,9 @@ Bug fixes:
(problem reported by Morgan).
- Fixed problem with turning off bar outline (issue 253, fix by Jordi
Castells).
- Check the selection passed into setSelection in the selection
plugin, to guard against errors when synchronizing plots (fix by Lau
Bech Lauritzen).
Flot 0.6
--------

@ -232,7 +232,7 @@ The plugin allso adds the following methods to the plot object:
selection.show = true;
plot.triggerRedrawOverlay();
if (!preventEvent)
if (!preventEvent && selectionIsSane())
triggerSelectedEvent();
}

Loading…
Cancel
Save