Nicolas Malin created OFBIZ-12260:
-------------------------------------
Summary: 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
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)