Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6858

Remove JavaScript confirm boxes during delete operations (Push App deletion, Variant deletion)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None

    Description

      The deletion of push applications and variants is an important operation and should have extra confirmation/validation.

      It is easy to bypass the JavaScript confirmation boxes and some browsers like Chrome prompts the user to do so. In addition, if you execute "window.confirm = function(m)

      { return true; }

      ;" in FF firebug console even before login then all the confirmation boxes after performing login are bypassed and each click on the 'remove' link, immediately deletes the push app/variants without waiting for the user's interaction/confirmation. This happens because the page is not refreshed and DOM is not refreshed as well.

      It would be much safer to remove the JavaScript confirm box and add an overlay form with a text field where the user has to write the name of the PushApp/Variant he wants to be deleted (like GitHub repository deletion).

      Attachments

        Activity

          People

            sebastienblanc Sebastien Blanc (Inactive)
            aemmanou Tolis Emmanouilidis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: