{I" class:ETI"ProcessedAsset;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"dependency_digest;TI"%72953da92508a60a4b826a1a5ae0e2c2;FI"required_paths;T[I"W/Users/dallasread/Apps/remetric/app/assets/javascripts/remetric/messages.js.coffee;FI"dependency_paths;T[{I" path;TI"W/Users/dallasread/Apps/remetric/app/assets/javascripts/remetric/messages.js.coffee;FI" mtime;TI"2014-04-14T15:21:58-03:00;TI" digest;TI"%a711f04b1c2f85b26797f2dad4a25dea;FI" _version;TI"%9bd74cab6f8cd17bb7b52df6002861bd;F