Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit a0c6177b authored by RyanHerb's avatar RyanHerb
Browse files

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 = { ...@@ -984,10 +984,12 @@ Database.prototype = {
}, },
ajax_indicator_start: function() { ajax_indicator_start: function() {
var tgt = $('#live-ajax'); if (!self.uploader.is_uploading()) {
tgt.empty(); var tgt = $('#live-ajax');
$('<img/>', {src: 'images/ajax-loader.gif'}).appendTo($('<div/>', {class: 'active-container'}).appendTo(tgt)); tgt.empty();
$('body').css('cursor', 'wait'); $('<img/>', {src: 'images/ajax-loader.gif'}).appendTo($('<div/>', {class: 'active-container'}).appendTo(tgt));
$('body').css('cursor', 'wait');
}, },
ajax_indicator_stop: function() { 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