Multiselect button does not keep the items selected when hitting the back button
--------------------------------------------------------------------------------

                 Key: MGNLFORM-135
                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-135
             Project: Magnolia Form Module
          Issue Type: Bug
    Affects Versions: 1.4.3
            Reporter: Teresa Miyar


The following lines in formSelector.ftl will fix the issue


 [#assign value=model.value!]
 [#if value?contains("__")]
     [#assign multiValues=value?split("__")]
     [#list multiValues as multiValue]
         [#if multiValue == data[1]!data[0] ]
             [#assign selected="selected=\"selected\""]
             [#break]
         [/#if]
     [/#list]
 [#elseif value == data[1]!data[0] ]
     [#assign checked="checked=\"checked\""]
 [/#if]


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to