Sha256: ea30b6e19269994babd7f0acf80f3acaa0204c21db643ef01c973d56ec442a9a
Contents?: true
Size: 1.34 KB
Versions: 20
Compression:
Stored size: 1.34 KB
Contents
{I" class:EFI"BundledAsset; FI"logical_path; FI"(roroacms/admin/settings/settings.js; TI" pathname; FI"c/Applications/Ruby/engines/roroacms/app/assets/javascripts/roroacms/admin/settings/settings.js; TI"content_type; FI"application/javascript; FI" mtime; Fl+|íßSI"length; FizI"digest; F"%6b4c5892c94e3e7997c0eebbcb9232ffI"source; FI"z$(document).ready(function() { $("body").on("keypress", "#addGroupInput", function(e) { $("#addGroupInput").val($("#addGroupInput").val().toLowerCase().replace(" ", "-")); if (e.which === 13) { e.preventDefault(); $(".addGroupInput").trigger("click"); } }); $("body").on("click", ".addGroupInput", function() { $.ajax({ type: "POST", url: "/admin/settings/create_user_group", data: "key=" + $("#addGroupInput").val(), dataType: "html", success: function(data) { $(".userGroupOptions").append(data); $("#addGroupInput").val(""); } }); }); $("body").on("click", ".remove-user-group", function(e) { e.preventDefault(); if (confirm("Are you sure? Please make sure update all users with this group")) { $(this).closest(".form-group").remove(); } }); }); ; TI"required_assets_digest; F"%41f94c3ab789810f0eff763364a3f705I" _version; F"%134d714864361d96664b8e1779275370
Version data entries
20 entries across 10 versions & 1 rubygems