Sha256: efadd32ea3600ccf2bc3f4419e1161f94d24abc201fa27b4d4185c36489f6682

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 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]").length > 0) {
        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

Version Path
customer_vault-1.3.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/q52wpDO5Fj_QsheOGAH5IbO1Lkba-GBPPgmMBVps6yI.cache
customer_vault-1.3.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/q52wpDO5Fj_QsheOGAH5IbO1Lkba-GBPPgmMBVps6yI.cache
customer_vault-1.3.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/q52wpDO5Fj_QsheOGAH5IbO1Lkba-GBPPgmMBVps6yI.cache