Permalink
Browse files

Fixed bug #290; Prototype adapter: removeEvent doesn't remove all events

  • Loading branch information...
eolsson committed Jul 21, 2011
1 parent 687d200 commit 260fcbaa0df72e4b09f397a886aeedf237aa423e
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/adapters/prototype-adapter.src.js
@@ -170,6 +170,8 @@ return {
event = HighchartsAdapter.addNS(event);
}
$(el).stopObserving(event, handler);
+ } if (window == el) {
+ Event.stopObserving(el, event, handler);
} else {
HighchartsAdapter._extend(el);
el._highcharts_stop_observing(event, handler);

0 comments on commit 260fcba

Please sign in to comment.