# HG changeset patch # User Franck Deroche # Date 1253279463 -7200 # Node ID abc9d39cfbe9f0563a1b1db4e46c1b630f64201f # Parent a9dc86da7be80a1e0ea7e2cc3b42a5e3fd8d49dd Switch the trigger from mouseover to click. MouseOver is problematic if people want to interact with the content of the popup, for example to click the play button of an swf player. diff -r a9dc86da7be8 -r abc9d39cfbe9 js/dnd-library.js --- a/js/dnd-library.js Fri Sep 18 15:08:22 2009 +0200 +++ b/js/dnd-library.js Fri Sep 18 15:11:03 2009 +0200 @@ -39,14 +39,15 @@ // Set up some initial settings for BeautyTips var settings = Drupal.settings.dndEnabledLibraries[$editor.get(0).id] = $.extend({ 'btSettings' : { - 'trigger': 'none', + 'trigger': ['click'], 'width': 375, 'spikeLength': 7, 'spikeGirth': 9, 'corner-radius' : 3, 'strokeWidth': 1, 'fill': '#ffd', - 'strokeStyle': '#555' + 'strokeStyle': '#555', + 'closeWhenOthersOpen': true }, 'libraryHoverIntentSettings' : { 'interval': 500,