Sha256: e17c7dba09e641eb49dc28de37db88ff2b3b17add116110a41ec71ba3086bf85
Contents?: true
Size: 746 Bytes
Versions: 3
Compression:
Stored size: 746 Bytes
Contents
I"Þ(function() { $(document).on("ready page:load", function() { $(".customer_vault select[name*=tag]").map(function() { return $(this).selectize({ create: true, plugins: ["remove_button"] }); }); $(".customer_vault .filters select[name*=tag]").map(function() { if (this.selectize) { return this.selectize.settings.create = false; } }); return $("form").submit(function() { var input; if ($(this).find("[name=back_url]")) { return; } input = document.createElement("input"); input.type = "hidden"; input.name = "back_url"; input.value = location.href; return $(this).append(input); }); }); }).call(this); :ET
Version data entries
3 entries across 3 versions & 1 rubygems