Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11808 Improve screen engine with decrease technology dependence
  3. OFBIZ-12260

Xml Element Link type hidden-form fail to resolve the form

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • None
    • framework/widget

    Description

      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

      <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>

      The problem come from OfbizUtil.js:748

      var $form = jQuery("#" + form)

      To solve the it this, I propose to extend all hidden-form with add the missing id attribute.

      Attachments

        1. OFBIZ-12260.patch
          5 kB
          Nicolas Malin
        2. OFBIZ-12260.patch
          2 kB
          Nicolas Malin

        Activity

          People

            nmalin Nicolas Malin
            nmalin Nicolas Malin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: