Details

      Description

      In several places the admin part of PlatformUI, the user should confirm that he really wants to do something. This is needed for instance when removing the content type, see https://github.com/ezsystems/PlatformUIBundle/pull/279#issuecomment-121709110

      Basically, the server side view should recognize that the form was submitted with a ez-confirm-action button and launch the confirm box with what is provided in the markup.

      <form>
      <!-- ... -->
      <button class="ez-button-remove ez-button pure-button ez-confirm-action" data-confirmbox-title="Do you really want to remove the 'Foobar' content type?" data-confirmbox-details-selector=".ez-confirmbox-content-type-removal-details">Remove</button>
      <!-- ... -->
      </form>
       
      <div class="ez-confirmbox-content-type-removal-details">
      <p>The <b>34</b> 'Foobar' instances will be permanently removed by this operation.</p>
      </div>
      

      This story also involves a change in the confirm box system to accept in addition to the existing attributes a details attribute that should contain some HTML to be displayed in the confirm box view.

        Issue Links

          Activity

          Show
          Damien Pobel (Inactive) added a comment - Merged in master in https://github.com/ezsystems/PlatformUIBundle/commit/7fce507baf68fab8dce45d4ff2767cdacfc7f3be
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: