Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4183 Screen Link Ajax Windows
  3. OFBIZ-6927

Layered-Modal menu item does not respect width and height parameters

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 15.12, Trunk
    • 15.12.01
    • framework
    • Bug Crush Event - 21/2/2015, Community Day 1 - 2016

    Description

      When using a link of type 'layered-modal' the renderer doesn't work with the provided width and height parameters.

      e.g.:

      <link link-type="layered-modal" target="newProductionRun" width="1000" height="600"/>

      should show a modal window with width =1000 and height=600 pixels. However, the resulting code for the dialog yields:

      autoOpen: false,
                       title: "New Production Run",
                       height: 600,
                       width: 800,
                       modal: true,
      

      The used values are from the properties definitions.

      Attachments

        1. OFBIZ-6927.patch
          1.0 kB
          Gil Portenseigne
        2. Screen Shot 2016-03-18 at 09.42.00.png
          323 kB
          Pierre Smits
        3. Screen Shot 2016-03-18 at 09.42.39.png
          344 kB
          Pierre Smits

        Activity

          People

            pgil Gil Portenseigne
            pierresmits Pierre Smits
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: