mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
Merge
This commit is contained in:
@@ -133,6 +133,16 @@ var TabularDatasetChunkedView = Backbone.View.extend({
|
||||
},
|
||||
|
||||
render: function() {
|
||||
// Add loading indicator.
|
||||
var loading_indicator = $('<div/>').attr('id', 'loading_indicator');
|
||||
|
||||
loading_indicator.ajaxStart(function(){
|
||||
$(this).show();
|
||||
}).ajaxStop(function(){
|
||||
$(this).hide();
|
||||
});
|
||||
|
||||
this.$el.append(loading_indicator);
|
||||
// Add data table and header.
|
||||
var data_table = $('<table/>').attr({
|
||||
id: 'content_table',
|
||||
@@ -177,11 +187,6 @@ var TabularDatasetChunkedView = Backbone.View.extend({
|
||||
});
|
||||
}
|
||||
});
|
||||
$('#loading_indicator').ajaxStart(function(){
|
||||
$(this).show();
|
||||
}).ajaxStop(function(){
|
||||
$(this).hide();
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user