Mercurial > public > sg101
view messages/static/js/messages.js @ 1096:d9cd3180c12c
More GCalendar V3 conversion in progress.
Built a brand new post editor. It is hardcoded into GCalendar
right now. We will make it more general in the future.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Jun 2016 21:16:09 -0500 |
parents | cf486a8e8b43 |
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; }