]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5209 Fix showing several issues on issues page
authorStas Vilchik <vilchiks@gmail.com>
Fri, 4 Jul 2014 08:35:23 +0000 (14:35 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 4 Jul 2014 08:35:23 +0000 (14:35 +0600)
sonar-server/src/main/js/issues/extra.js

index 9fb745c0f26d39df099950bc9180b39430b484ea..388fdfcb211a71516b64b33a3e66524ceff7b6f3 100644 (file)
@@ -159,7 +159,8 @@ define(
                 jQuery('.navigator-details').removeClass('navigator-fetching');
                 app.detailsRegion.show(componentViewer);
                 componentViewer.settings.set('issues', false);
-                componentViewer.open(that.model.get('component')).always(function() {
+                componentViewer.open(that.model.get('component'));
+                componentViewer.on('loaded', function() {
                   componentViewer.showIssues(false, that.model.toJSON());
                 });
               };