[Webkit-unassigned] [Bug 63232] Button is hidden unexpectedly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 24 05:03:40 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63232





--- Comment #2 from Anatoly <a.vostrjakov at gmail.com>  2011-06-24 05:03:40 PST ---
"Do you have a reduced test case? Please attach it to this bug if you do."

Sorry, but I don't have reduced test case. It's because I can't reproduce this bug only on JS (doesn't matter with jquery or not). The bug is happened only if I go in, go out and go in again in textarea manually. But you can reproduce it easy how I described above.

All JS code on this page that is important:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> 
<script type="text/javascript"> 
    $(document).ready(function() {
        var commentDescriptions = $('[id^="comment_description_"]');

        commentDescriptions.live('focus', function() {
            var items = $(this).attr("id").split('_');
            var idea_id = items.pop();
            $('#add_comment_' + idea_id).css('display', 'inline-block');
            $(this).addClass('open');
        });

        commentDescriptions.live('blur', function() {
            if ($(this).val().length == 0 || $(this).val() == $(this).attr("hintValue"))
                var items = $(this).attr("id").split('_');
                var idea_id = items.pop();
                $('#add_comment_' + idea_id).css('display', 'none');
                $(this).removeClass('open');
        });
});
</script>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list