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

Form layered-modal is not respecting passed (default) width

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.11.01
    • Component/s: None
    • Labels:
      None

      Description

      I thought it could be because the

      #Default size for layered modal windows
      widget.link.default.layered-modal.width=800
      widget.link.default.layered-modal.height=600

      were commented out. but even after uncommenting them it still does not work. It's related to this line in makeHyperlinkByType()
      String width = (String) this.request.getAttribute("width");
      The value is already sets to 100, I stopped there

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Actually this worked perfectly well, I just used size instead of height in the hyperlink definition. Better to not set anything and use default value, they are committed uncommented at revision: 1712411

        Show
        jacques.le.roux Jacques Le Roux added a comment - Actually this worked perfectly well, I just used size instead of height in the hyperlink definition. Better to not set anything and use default value, they are committed uncommented at revision: 1712411

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            jacques.le.roux Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development