Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
805:e966d5553955 | 806:59e36169a814 |
---|---|
1 function tabMasterCheckClick(box, name) { | |
2 var state = $(box).prop('checked'); | |
3 $('input[name="' + name + '"]').each(function() { | |
4 this.checked = state; | |
5 }); | |
6 } | |
7 | |
8 function bulkMsgAction(action) { | |
9 return confirm("Really " + action + " checked messages?"); | |
10 return false; | |
11 } |