Commit a0c6177b authored by RyanHerb's avatar RyanHerb

database.js remove query indicator during upload

There was already an indicator that tracked uploads, so having the ajax
spinner on during uploads was redundant.
parent ecb2b482
......@@ -984,10 +984,12 @@ Database.prototype = {
},
ajax_indicator_start: function() {
var tgt = $('#live-ajax');
tgt.empty();
$('<img/>', {src: 'images/ajax-loader.gif'}).appendTo($('<div/>', {class: 'active-container'}).appendTo(tgt));
$('body').css('cursor', 'wait');
if (!self.uploader.is_uploading()) {
var tgt = $('#live-ajax');
tgt.empty();
$('<img/>', {src: 'images/ajax-loader.gif'}).appendTo($('<div/>', {class: 'active-container'}).appendTo(tgt));
$('body').css('cursor', 'wait');
}
},
ajax_indicator_stop: function() {
......
Markdown is supported
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