Commit e131b776 authored by olau@iola.dk's avatar olau@iola.dk

Check the selection passed into setSelection in the selection plugin, to guard...

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
parent 479fa278
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment