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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment