• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
511
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 22 Nov 2018, 06:34

    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
    • 10 months later
    • Y
      yousuf last edited by 24 Sept 2019, 12:14

      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 24 Sept 2019, 12:30

        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 24 Sept 2019, 12:33

          @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
          1 out of 4
          • First post
            1/4
            Last post