The initially-collapsed attribute of the screenlet tag does not work
-------------------------------------------------------------------- Key: OFBIZ-1840 URL: https://issues.apache.org/jira/browse/OFBIZ-1840 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Bruno Busco Priority: Minor Attachments: initially-collapsed.patch I have tryed to set the initially-collapsed to "true" in a screenlet tag in order to have it initially rendered collapsed and then have it accessible using the "+". I have found that in this case the div content is not rendered at all and then when the javascript toggles the display style there is nothing to be shown. With the attached patch the div content is rendered even if collapsed is true but in this case the display:none; style is added to the div. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno Busco updated OFBIZ-1840: ------------------------------- Attachment: initially-collapsed.patch > The initially-collapsed attribute of the screenlet tag does not work > -------------------------------------------------------------------- > > Key: OFBIZ-1840 > URL: https://issues.apache.org/jira/browse/OFBIZ-1840 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Bruno Busco > Priority: Minor > Attachments: initially-collapsed.patch > > > I have tryed to set the initially-collapsed to "true" in a screenlet tag in order to have it initially rendered collapsed and then have it accessible using the "+". > I have found that in this case the div content is not rendered at all and then when the javascript toggles the display style there is nothing to be shown. > With the attached patch the div content is rendered even if collapsed is true but in this case the display:none; style is added to the div. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum closed OFBIZ-1840. ------------------------------ Resolution: Fixed Fixed, rev 667837. Thanks Bruno! > The initially-collapsed attribute of the screenlet tag does not work > -------------------------------------------------------------------- > > Key: OFBIZ-1840 > URL: https://issues.apache.org/jira/browse/OFBIZ-1840 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Bruno Busco > Priority: Minor > Attachments: initially-collapsed.patch > > > I have tryed to set the initially-collapsed to "true" in a screenlet tag in order to have it initially rendered collapsed and then have it accessible using the "+". > I have found that in this case the div content is not rendered at all and then when the javascript toggles the display style there is nothing to be shown. > With the attached patch the div content is rendered even if collapsed is true but in this case the display:none; style is added to the div. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |