From 9a0bd1faec92bdc1d9add4d2ca045d9a9a172901 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Jun 2012 10:54:08 +0200 Subject: [PATCH] when clicking button, hide its tooltip --- source/Ox.UI/js/Form/Button.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.UI/js/Form/Button.js b/source/Ox.UI/js/Form/Button.js index 9021bce1..1b0fcf70 100644 --- a/source/Ox.UI/js/Form/Button.js +++ b/source/Ox.UI/js/Form/Button.js @@ -114,6 +114,7 @@ Ox.Button = function(options, self) { function click() { if (!self.options.disabled) { + that.$tooltip && that.$tooltip.hide(); that.triggerEvent('click'); if (self.options.values.length || self.options.selectable) { that.toggle();