]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5334 Fix deprecated jQuery API for ajax callback
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Thu, 5 Jun 2014 08:22:09 +0000 (10:22 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Thu, 5 Jun 2014 08:22:09 +0000 (10:22 +0200)
sonar-server/src/main/js/translate.js

index 3853dace0c25e35e1a9275972f09a3ac2c424d1f..2a32303a6afb916f0af40f2daf430a75cf1792da 100644 (file)
@@ -96,7 +96,7 @@
           // NOP, use cached messages
         }
       }
-    }).success(function(bundle) {
+    }).done(function(bundle) {
       bundleTimestamp = new Date().toISOString();
       bundleTimestamp = bundleTimestamp.substr(0, bundleTimestamp.indexOf('.')) + '+0000';
       localStorage.setItem('l10n.timestamp', bundleTimestamp);