Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19672

Alert Popup doesn't execute callback if it's closed without click on "Primary"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-web
    • None

    Description

      App.showAlertPopup shows popup with some message in the its body and on button - "Primary". Click on it execute passed callback (if it exists). Clicking on "x" or "Esc"-press closes modal without callback execution.
      Since this modal is not a confirmation-modal (we have App.showConfirmationPopup), any interaction with it (click "Ok", press "Esc", click "x") should execute passed callback.

      Attachments

        1. AMBARI-19672.patch
          1 kB
          Oleg Nechiporenko

        Issue Links

          Activity

            People

              onechiporenko Oleg Nechiporenko
              onechiporenko Oleg Nechiporenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: