Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    A pop-up confirmation should display before deleting an address.

    Bug Report
    3
    4
    508
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jyoti last edited by

      Framework Version: 0.1.1
      If user click on delete for the saved address then it gets deleted without any confirmation.

      1 Reply Last reply Reply Quote 0
      • Y
        yousuf last edited by

        If user click on delete for the saved address then it gets deleted without any confirmation.

        1 Reply Last reply Reply Quote 0
        • Y
          yousuf last edited by

          Just Add onclick="delete('Do you really want to delete this address?'')"

          <script>
              function delete(message) {
                  if (!confirm(message))
                      event.preventDefault();
              }
          </script>
          
          1 Reply Last reply Reply Quote 0
          • ghermans
            ghermans last edited by

            @yousuf even though @Jyoti can add it manually in his local environment, it does seem like a good suggestion to implement this in the framework by default.

            Kind regards,
            Glenn Hermans

            Manager Bagisto Europe
            info@bagisto.eu

            1 Reply Last reply Reply Quote 0
            • First post
              Last post