Skip to content

Commit

Permalink
Merge pull request #1179 from himdel/tab-observe
Browse files Browse the repository at this point in the history
miq_tabs_init - use observe queue for tab switching too
  • Loading branch information
mzazrivec authored May 31, 2017
2 parents ed4b629 + f0aa577 commit 9c08e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/miq_application.js
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ function miq_tabs_init(id, url) {
} else if (typeof(url) != 'undefined') {
// Load remote tab if an URL is specified
var currTabTarget = $(e.target).attr('href').substring(1);
miqJqueryRequest(url + '/?tab_id=' + currTabTarget, {beforeSend: true})
miqObserveRequest(url + '/?tab_id=' + currTabTarget, {beforeSend: true})
.catch(function(err){
add_flash(__("Error requesting data from server"), 'error');
console.log(err);
Expand Down

0 comments on commit 9c08e51

Please sign in to comment.