Sha256: ad553466cf6edd7c27f439d5687818a93c39a2885128d3efe276f49fc91f2dfd

Contents?: true

Size: 1.24 KB

Versions: 14

Compression:

Stored size: 1.24 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"remetric/messages.js;FI"
pathname;TI"W/Users/dallasread/Apps/remetric/app/assets/javascripts/remetric/messages.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+F'LSI"length;Ti(I"digest;TI"%5b98d40074ff93cf2f6892264565ad43;FI"source;TI"((function() {
  this.Remetric || (this.Remetric = {});

  this.Remetric.messages = {
    events: function() {
      return $(document).on("click", ".open_send_message", function() {
        var count, count_word, trackable_ids;
        trackable_ids = [];
        $(".trackable_checkbox:checked").each(function() {
          return trackable_ids.push(this.value);
        });
        count = trackable_ids.length;
        count_word = count === 1 ? "Contact" : "Contacts";
        if (count === 0) {
          alert("Please choose at least 1 contact.");
        } else {
          $("#message_trackable_ids").val(trackable_ids.join());
          $("#to").val("" + count + " " + count_word);
          Remetric.dialog.open("send_message");
        }
        return false;
      });
    }
  };

}).call(this);
;TI"required_assets_digest;TI"%72953da92508a60a4b826a1a5ae0e2c2;FI"
_version;TI"%9bd74cab6f8cd17bb7b52df6002861bd;F

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
remetric-0.0.9 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37
remetric-0.0.9 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.8 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37
remetric-0.0.8 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.7 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.7 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37
remetric-0.0.6 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37
remetric-0.0.6 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.5 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37
remetric-0.0.5 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.4 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37
remetric-0.0.4 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.3 test/dummy/tmp/cache/assets/development/sprockets/0d0cd4d3626b8b7af859b848bb261b3b
remetric-0.0.3 test/dummy/tmp/cache/assets/development/sprockets/6febf106bc4ae38f75f0887d1592de37