Commit 8e3cb6f5 authored by marc duez's avatar marc duez

database.js: remove duplicated ajax indicator

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