highslide-software/highcharts.com — Issue #659: Rangeselector leftBox and rightBox can be null
Author: gvaartjes
Created: 2011-12-20 14:04:18+00:00
State: open
Labels: Bug, Highstock

in function destroy at line 14935, it is possible that leftBox and/or rightBox can be undefined which causes this line to fail.
proposed fix:

// Clear input element events
if (leftBox)
leftBox.onfocus = leftBox.onblur = leftBox.onchange = null;
if (rightBox)
rightBox.onfocus = rightBox.onblur = rightBox.onchange = null;