[jira] [Commented] (OFBIZ-12260) Xml Element Link type hidden-form fail to resolve the form

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

[jira] [Commented] (OFBIZ-12260) Xml Element Link type hidden-form fail to resolve the form

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365818#comment-17365818 ]

Xin Wang commented on OFBIZ-12260:
----------------------------------

[~nmalin] glad to see that it works, LGTM.

> Xml Element Link type hidden-form fail to resolve the form
> ----------------------------------------------------------
>
>                 Key: OFBIZ-12260
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12260
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework/widget
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Major
>              Labels: screen, widget
>         Attachments: OFBIZ-12260.patch, OFBIZ-12260.patch
>
>
> When you generate a link with the type hidden-form and the link present an update area, on the click jquery failed to resolve the form.
> Example of a current link generate
> {code:java}
> <a href="javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0', 'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000')">javascript:ajaxSubmitFormUpdateAreas('ListProductMeterActionMenus_delete_LF_1__0', 'embedded13009956-a841-47d3-86b1-b1931e6b430e,https://localhost:8443/catalog/control/ListProductMeters,productId=GZ-1000')</a>{code}
> The problem come from OfbizUtil.js:748
> {code:java}
> var $form = jQuery("#" + form){code}
> To solve the it this, I propose to extend all hidden-form with add the missing id attribute.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)