show loading spinner when loading table
This commit is contained in:
@@ -183,7 +183,9 @@ var recline = function() {
|
||||
}
|
||||
|
||||
function initializeTable(offset) {
|
||||
$('.large-loader').show();
|
||||
couch.request({url: app.baseURL + 'api/headers'}).then(function ( headers ) {
|
||||
$('.large-loader').hide();
|
||||
app.headers = headers;
|
||||
app.csvUrl = app.baseURL + 'api/csv?headers=' + escape(JSON.stringify(headers));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user