Sha256: c32ca3e0613987b4079d6dd94243b0f6fdadcf78d552e8d32905122754acac47

Contents?: true

Size: 391 Bytes

Versions: 55

Compression:

Stored size: 391 Bytes

Contents

mumuki.load(() => {
  $('.btn-confirmation').on('click change', function (_evt) {
    var token = new mumuki.CsrfToken();

    $.ajax(token.newRequest({
      method: 'POST',
      url: $(this).data('confirmation-url'),
      xhrFields: {withCredentials: true},
      success: function(data){
        mumuki.updateProgressBarAndShowModal(data);
      }
    }));

    return true;
  });
});

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
mumuki-laboratory-9.11.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.10.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.9.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.8.2 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.8.1 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.8.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.7.2 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.7.1 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.7.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.6.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.5.1 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.5.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.4.1 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.4.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.3.1 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.3.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.2.0 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.1.3 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.1.2 app/assets/javascripts/mumuki_laboratory/application/confirmation.js
mumuki-laboratory-9.1.1 app/assets/javascripts/mumuki_laboratory/application/confirmation.js