view messages/static/js/messages.js @ 818:cf486a8e8b43

Added the ability to export private messages to email.
author Brian Neal <bgneal@gmail.com>
date Sat, 13 Sep 2014 16:19:46 -0500
parents 59e36169a814
children
line wrap: on
line source
function tabMasterCheckClick(box, name) {
   var state = $(box).prop('checked');
   $('input[name="' + name + '"]').each(function() {
      this.checked = state;
   });
}

function bulkMsgAction(action) {
   var total = $('input[name="pm_ids"]:checked').length;
   if (total <= 0) {
      alert('Please check some messages first.');
      return false;
   }
   return confirm("Really " + action + " checked messages?");
   return false;
}