You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (JIRA)" <ji...@apache.org> on 2011/05/13 11:52:47 UTC

[jira] [Updated] (OFBIZ-4281) parse javascript link wrongly in lookup layer dialog if there's slash '/' in data

     [ https://issues.apache.org/jira/browse/OFBIZ-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated OFBIZ-4281:
------------------------

    Attachment: fieldlookup.js.patch

> parse javascript link wrongly in lookup layer dialog if there's slash '/' in data
> ---------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4281
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4281
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: fieldlookup.js.patch
>
>
> e.g. in lookup dialog (in layer mode), one href value of a link is "javascript:set_value('123/ABC');", then the ofbiz framework will parse it to "javascript:lookupAjaxRequest('ABC'');&presentation=layer')". It's wrong. Correct one should be given href itself.
> to fix:
> judge whether the link contains "javascript:set_" before split it by slash '/'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira