restaured loading gif when new tab is shown (BrowseWarningPaste)

pull/65/head
Mokaddem 2016-08-09 12:07:20 +02:00
parent a80f6ca0c2
commit e2ba4060ee
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ $('.nav-tabs a').on('shown.bs.tab', function(event){
var dataPath = $(event.target).attr('data-attribute-name');
$.get("{{ url_for('importantPasteByModule') }}"+"?moduleName="+dataPath, function(data, status){
var currentTab = $('[name].active').children();
$('#'+previous_tab.attr('data-attribute-name')+'-tab').html("");
$('#'+previous_tab.attr('data-attribute-name')+'-tab').html(loading_gif);
currentTab.removeClass( "active" );
$('#'+dataPath+'-tab').html(data);