You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2011/02/05 13:16:30 UTC
[jira] Resolved: (OFBIZ-4164) ajaxUpdateAreas not working
[ https://issues.apache.org/jira/browse/OFBIZ-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux resolved OFBIZ-4164.
------------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Assignee: Jacques Le Roux
Youssef,
Forget it, I tested with this URL and I thoink I understod the issue. I did not apply your patch but used your idea of
"async: false,"
It's fixed in trunk at r1067429
Please test and confirm. If it's ok, close the issue.
Thanks
> ajaxUpdateAreas not working
> ---------------------------
>
> Key: OFBIZ-4164
> URL: https://issues.apache.org/jira/browse/OFBIZ-4164
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Environment: ubuntu 10.04, FF 3.16.13
> Reporter: youssef khaye
> Assignee: Jacques Le Roux
> Labels: jQuery
> Fix For: SVN trunk
>
> Attachments: selectall.js.patch
>
>
> When using multiple on-event-update-area for a form submit, it yields in an ajaxSubmitFormUpdateAreas and that does not work currently.
> Without being a javascript expert, i can propose a patch to fix this issue.
> I think it is a problem of variable visibility scope inside the loop. Setting the jQueyr.ajax async option to false resolved the issue.
> In the following patch, i used a name-spacing technique to ensure the parameters visibility inside callback function.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira