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

fix tag "disable-if-empty" in menus if field has no value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.04
    • framework
    • None
    • Patch

    Description

      The purpose of this patch is to correct the behavior of the tag "disable-if-empty" in menus. Indeed in certain cases it happens that the value defines in "disable-if-empty" is present in the context but with no valuee. In this case the menu item is shown while it should be masked. This patch corrects it by testing if emptie and without value.

      Attachments

        1. menu-disable-if-empty.patch
          1 kB
          Gaudin Pierre

        Activity

          People

            deepak Deepak Dixit
            gpierre Gaudin Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: