Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4164

ajaxUpdateAreas not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Trunk
    • framework
    • ubuntu 10.04, FF 3.16.13

    Description

      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.

      Attachments

        1. selectall.js.patch
          1 kB
          youssef khaye

        Activity

          People

            jleroux Jacques Le Roux
            lyoussef youssef khaye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: