Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
817:74e84f5fc948 | 818:cf486a8e8b43 |
---|---|
4 this.checked = state; | 4 this.checked = state; |
5 }); | 5 }); |
6 } | 6 } |
7 | 7 |
8 function bulkMsgAction(action) { | 8 function bulkMsgAction(action) { |
9 var total = $('input[name="pm_ids"]:checked').length; | |
10 if (total <= 0) { | |
11 alert('Please check some messages first.'); | |
12 return false; | |
13 } | |
9 return confirm("Really " + action + " checked messages?"); | 14 return confirm("Really " + action + " checked messages?"); |
10 return false; | 15 return false; |
11 } | 16 } |