[jira] Created: (OFBIZ-1840) The initially-collapsed attribute of the screenlet tag does not work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1840) The initially-collapsed attribute of the screenlet tag does not work

Nicolas Malin (Jira)
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.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1840) The initially-collapsed attribute of the screenlet tag does not work

Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1840) The initially-collapsed attribute of the screenlet tag does not work

Nicolas Malin (Jira)
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.