bug/bug/bug.js | 3 ++- bug/bug/test.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit af1afb03f3c1fa8a62e913e287bed4c2f26243b9 Author: Loic Dachary <l...@dachary.org> Date: Tue Sep 27 14:16:58 2011 +0200 Do not change the component comment when hovering on an image component. diff --git a/bug/bug/bug.js b/bug/bug/bug.js index c5966f8..d391adb 100644 --- a/bug/bug/bug.js +++ b/bug/bug/bug.js @@ -108,12 +108,13 @@ $.bug.current_step('component'); element.show(); $('.select', element).select(); - $('.select .choice, img', element).hover(function() { + $('.select .choice', element).hover(function() { var component = $(this).attr('data'); $('.comment', element).hide(); $('.comment.' + component, element).show(); }); $('.select .choice', element).click(function() { + $(this).mouseenter(); $.bug.state_subcomponent(); }); $('img', element).click(function() { diff --git a/bug/bug/test.js b/bug/bug/test.js index 3a60319..55db48c 100644 --- a/bug/bug/test.js +++ b/bug/bug/test.js @@ -131,7 +131,6 @@ test("state_component", function() { equal($('.comment.Formula_editor', element).css('display'), 'none', 'Formula_editor hidden'); equal($('.comment.OTHER', element).css('display'), 'none', 'OTHER hidden'); $(".component .choice[data='Formula_editor']", element).click(); - $(".component .choice[data='Formula_editor']", element).mouseenter(); equal($('.comment.Formula_editor', element).css('display'), 'block', 'Formula_editor is visible'); equal($('.comment.OTHER', element).css('display'), 'none', 'OTHER hidden'); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits