Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11991

For edition in grid, some widgets need to get contentId

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0
    • None
    • None
    • None
    • 4.8.0 M10

      Some widget get the content id being editing from their config as follow:

      config.contentId || config.contentInfo && config.contentInfo.contentId
      

      In grid, the content id is not available in config.
      I propose in this PR to add content id to column data.
      In widget the content id can be retrieved as follow

      config.contentId || config.contentInfo && config.contentInfo.contentId || config.column && config.column.contentId;
      

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: