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

SelectPage widget does not work in a table.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.7, 4.2.0
    • None
    • None
    • None
    • 4.2 M6

      When the SelectPage widget is opened from a table (reference table for example), the focus is lost and the value is not saved.

      To fix this :

      this.triggerDialogBoxOpened = true;

      (in choosePage: function())

      This have to be set back to false when the ChoosePage is closed, which will be done differently in 4.1 and 4.2

      4.2 :

      add the callback in _cancel with undefined

      Check every calls to the callback to change the behaviour between null and undefined

      Add documentation about null/undefined (null = selection removed, undefined = tool closed)

       

      4.1 :

      Add another callback that will be called by each function that close the box.

      Add a deprecated comment to be sure that it is known that it is a 4.1 only fix

            pgros Pierre Gros (Inactive)
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: