Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10369

Show an empty popup when hitting the "new" button without any allowed sub types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1
    • Component/s: None

      Description

      By default the "new" button is not shown when there are no allowed sub types.
      But when filtering is not done correctly and the button is shown anyway, hitting the "new" button will have no effect and will produce a javascript error

      => display an empty popup saying "there are no allowed sub types defined for this container" in this case, to make the template more generic

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified