Sha256: 74d3df64b814b3113077fcc360228fccaafe8e0d5fbd6adfd643ac03e85ce981

Contents?: true

Size: 437 Bytes

Versions: 14

Compression:

Stored size: 437 Bytes

Contents

window.removedProfile = document.getElementById("<%= @profile.name %>");
window.messageContainer = document.getElementById("response-message");
window.profilesContainer = document.getElementById("profiles-container");

window.messageContainer.innerText = "<%= I18n.t("sail.profile_deleted") %>";
window.profilesContainer.removeChild(window.removedProfile);

setTimeout(function () {
    window.messageContainer.innerText = "";
}, 1500);

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sail-3.6.1 app/views/sail/profiles/destroy.js.erb
sail-3.6.0 app/views/sail/profiles/destroy.js.erb
sail-3.5.1 app/views/sail/profiles/destroy.js.erb
sail-3.5.0 app/views/sail/profiles/destroy.js.erb
sail-3.4.0 app/views/sail/profiles/destroy.js.erb
sail-3.3.0 app/views/sail/profiles/destroy.js.erb
sail-3.2.4 app/views/sail/profiles/destroy.js.erb
sail-3.2.3 app/views/sail/profiles/destroy.js.erb
sail-3.2.2 app/views/sail/profiles/destroy.js.erb
sail-3.2.1 app/views/sail/profiles/destroy.js.erb
sail-3.2.0 app/views/sail/profiles/destroy.js.erb
sail-3.1.0 app/views/sail/profiles/destroy.js.erb
sail-3.0.1 app/views/sail/profiles/destroy.js.erb
sail-3.0.0 app/views/sail/profiles/destroy.js.erb