From 107a59132ace5a4eb87abb3013d655a0798d9ad1 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sun, 27 Apr 2014 23:59:01 -0300 Subject: [PATCH] removing unless parameters on fire event in floating tip --- mindplot/src/main/javascript/widget/FloatingTip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindplot/src/main/javascript/widget/FloatingTip.js b/mindplot/src/main/javascript/widget/FloatingTip.js index 7074f791..6d1d6023 100644 --- a/mindplot/src/main/javascript/widget/FloatingTip.js +++ b/mindplot/src/main/javascript/widget/FloatingTip.js @@ -42,7 +42,7 @@ mindplot.widget.FloatingTip = new Class({ console.error('element is not necessary'); } this.element.popover('show'); - this.fireEvent('show', [this, this.element]); + this.fireEvent('show'); return this; }, @@ -51,7 +51,7 @@ mindplot.widget.FloatingTip = new Class({ console.error('element is not necessary'); } this.element.popover('hide'); - this.fireEvent('hide', [this, element]); + this.fireEvent('hide'); return this; } });