You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2013/05/30 02:25:21 UTC

[jira] [Created] (TAP5-2122) visible() on empty
is false; prevents valiation of Palette component

Howard M. Lewis Ship created TAP5-2122:
------------------------------------------

             Summary: visible() on empty <div> is false; prevents valiation of Palette component
                 Key: TAP5-2122
                 URL: https://issues.apache.org/jira/browse/TAP5-2122
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.4
            Reporter: Howard M. Lewis Ship
            Priority: Blocker


Noticed that required validation for Palette was not working; a little debugging shows that the validation disabled because the <select> element is not deepVisible().

The enclosing div.t-palette is not jQuery.is(":visible"); that's because it has no text content (I believe), just a hidden field and nested divs.

The correct solution is that visible() should be based on the CSS "display" property not being "hidden".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira