From d0c6d54eee92ccedc54515abcf3c97ce319bc06c Mon Sep 17 00:00:00 2001 From: Andy Chong Date: Sun, 11 Mar 2012 13:14:42 +0800 Subject: [PATCH] hide tooltip after select field is selected * fix bug 952000 Change-Id: Iaef3581335171497551cbf42da8971884d3d15c1 --- horizon/static/horizon/js/forms.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/horizon/static/horizon/js/forms.js b/horizon/static/horizon/js/forms.js index 64e10c94a..27e8b8145 100644 --- a/horizon/static/horizon/js/forms.js +++ b/horizon/static/horizon/js/forms.js @@ -71,6 +71,9 @@ horizon.addInitFunction(function () { trigger: 'focus', title: getTwipsyTitle }); + $(document).on('change', '.form-field select', function() { + $(this).tooltip('hide'); + }); // Hide the text for js-capable browsers $('span.help-block').hide();