You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "youssef khaye (JIRA)" <ji...@apache.org> on 2011/02/03 15:59:28 UTC
[jira] Updated: (OFBIZ-4164) ajaxUpdateAreas not working
[ https://issues.apache.org/jira/browse/OFBIZ-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
youssef khaye updated OFBIZ-4164:
---------------------------------
Attachment: selectall.js.patch
> 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
> Labels: jQuery
> 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