mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
restaured loading gif when new tab is shown (BrowseWarningPaste)
This commit is contained in:
parent
a80f6ca0c2
commit
e2ba4060ee
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ $('.nav-tabs a').on('shown.bs.tab', function(event){
|
||||||
var dataPath = $(event.target).attr('data-attribute-name');
|
var dataPath = $(event.target).attr('data-attribute-name');
|
||||||
$.get("{{ url_for('importantPasteByModule') }}"+"?moduleName="+dataPath, function(data, status){
|
$.get("{{ url_for('importantPasteByModule') }}"+"?moduleName="+dataPath, function(data, status){
|
||||||
var currentTab = $('[name].active').children();
|
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" );
|
currentTab.removeClass( "active" );
|
||||||
|
|
||||||
$('#'+dataPath+'-tab').html(data);
|
$('#'+dataPath+'-tab').html(data);
|
||||||
|
|
Loading…
Reference in a new issue