annotate messages/static/js/messages.js @ 806:59e36169a814

Private messages refactor: add delete functionality.
author Brian Neal <bgneal@gmail.com>
date Mon, 01 Sep 2014 15:53:35 -0500
parents messages/static/js/tabbed_messages.js@796103a2215b
children cf486a8e8b43
rev   line source
bgneal@425 1 function tabMasterCheckClick(box, name) {
bgneal@731 2 var state = $(box).prop('checked');
bgneal@425 3 $('input[name="' + name + '"]').each(function() {
bgneal@425 4 this.checked = state;
bgneal@425 5 });
bgneal@425 6 }
bgneal@425 7
bgneal@806 8 function bulkMsgAction(action) {
bgneal@806 9 return confirm("Really " + action + " checked messages?");
bgneal@425 10 return false;
bgneal@425 11 }