]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5334 SONAR-5209 Defer loading of translation message (messages not available...
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 2 Jul 2014 13:30:34 +0000 (15:30 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 2 Jul 2014 13:30:34 +0000 (15:30 +0200)
sonar-server/src/main/coffee/component-viewer/main.coffee
sonar-server/src/main/coffee/component-viewer/models/period.coffee

index a8db19334cb8ed07e9b7c3be3c61eb6fd44322c2..6a7ea195a0cf003357948af63f82378b7f08db56 100644 (file)
@@ -160,7 +160,7 @@ define [
 
         if full
           # Periods
-          @periods.reset [{}]
+          @periods.reset [{label: t('none')}]
           data.periods.forEach (p) =>
             d = new Date p[2]
             d.setHours 0, 0, 0, 0
index e2faaa4c664a539996ef68976976ec49c245bf9b..3b7a73b9369b108a5675bf3ea5a2cebcee84ba62 100644 (file)
@@ -9,5 +9,4 @@ define [
 
     defaults:
       key: ''
-      label: t 'none'
       sinceDate: null