Commit b18174f1 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

my account add jobs button to group list

parent ffe1c8af
......@@ -1236,6 +1236,14 @@ Database.prototype = {
this.call('my_account/index?' + group_ids.join("&"));
},
callJobStats: function() {
var group_ids = [];
$('[name^="group_ids"]:checked').each(function() {
group_ids.push("group_ids=" + $(this).val());
});
this.call('my_account/jobs?' + group_ids.join("&"));
},
stopGroupPropagate: function(e) {
if(!e) {
e = window.event
......
......@@ -46,6 +46,7 @@
<span class="button2" onclick="db.call('group/add')"> + new group </span>
<span class="button2" onclick="db.callGroupStats()">group stats</span>
<span class="button2" onclick="db.callJobStats()">job stats</span>
{{elif 'content' in globals():}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment