dont show table if there isnt any dataz

This commit is contained in:
Max Ogden
2011-08-03 19:45:41 -04:00
parent 7cbf23088c
commit fe9e7f4c61
2 changed files with 3 additions and 2 deletions

View File

@@ -73,7 +73,8 @@ var recline = function() {
util.render('dataTable', 'data-table-container', {
rows: tableRows,
headers: app.headers
headers: app.headers,
notEmpty: function() { return app.headers.length > 0 }
})
app.newest = rows[0].id;