]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5497 Load tags synchronously to be able to restore them before query
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Tue, 29 Jul 2014 15:37:52 +0000 (17:37 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Tue, 29 Jul 2014 15:37:59 +0000 (17:37 +0200)
server/sonar-web/src/main/coffee/coding-rules/views/filters/tag-filter-view.coffee

index cbcda6dd40da31fcbfb7fc59aaf93a0384cc9aa8..01366e7f2e4eadf92fe9134a959aafe43b40647e 100644 (file)
@@ -15,6 +15,7 @@ define [
     loadTags: ->
       tagsXHR = jQuery.ajax
         url: "#{baseUrl}/api/rules/tags"
+        async: false
 
       jQuery.when(tagsXHR).done (r) =>
         @choices = new Backbone.Collection(