Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Modal dialog without buttons fails in 13.1

    We need to display a modal dialog without any buttons on the bottom.
    We used to set buttons to empty array to achieve that - here is a simplified version of our code::
    Code:
    isc.say(
      "message with no button",
      null,
      {
        buttons: []
      });
    Starting from 13.1, this stopped working, throwing an exception (see devTools screenshot for details where it fails).

    I found in docs that there is a `showToolbar` property, but setting it to false does not seem to have any affect on the modal dialog.
    As a temporary W/A I found that I can pass a LayoutSpacer as the only entry in the buttons array, but I think you should fix the bug and either support passing an empty buttons array as before or hide the buttons if showToolbar is set to false.

    Code:
    isc.say(
      "message with no button",
      null,
      {
         showToolbar: false
      });
    Regards
    Gil
    Attached Files

    #2
    Thanks for letting us know. We've made a change to resolve this issue. Please try the next nightly build, dated Jan 9 or above

    Regards
    Isomorphic Software

    Comment

    Working...
    X