Skip to content

Commit

Permalink
sort programs by last run date
Browse files Browse the repository at this point in the history
  • Loading branch information
plamere committed Feb 19, 2016
1 parent ce8cbd2 commit aedc1c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ function fmtTime(secs) {


function checkForBadUser(data) {
console.log('cfbu', data);
if (data.status == 'error' && data.msg == 'no authorized user') {
clear_auth_code();
document.location = 'index.html';
Expand Down Expand Up @@ -165,11 +164,9 @@ function showBuilder() {
function showDirectoryTable(dir) {
var body = $("#dir-body");
body.empty();
/*
dir.sort(function(a, b) {
return b.last_run - a.last_run;
});
*/

_.each(dir, function(entry, i) {
var tr = $("<tr>");
Expand Down

0 comments on commit aedc1c3

Please sign in to comment.