[
https://issues.apache.org/jira/browse/OFBIZ-12260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin updated OFBIZ-12260:
----------------------------------
Attachment: OFBIZ-12260.patch
> 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)