aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/js
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-06-05 10:22:09 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-06-05 10:22:09 +0200
commitf8f92f55bfa704b1ea11c2f713abdc20c510184e (patch)
tree52d8a757d83bb79b780c28ea11e89861204e8122 /sonar-server/src/main/js
parent0a12acabe47292ffee87dd00ea17f1569e840ccf (diff)
downloadsonarqube-f8f92f55bfa704b1ea11c2f713abdc20c510184e.tar.gz
sonarqube-f8f92f55bfa704b1ea11c2f713abdc20c510184e.zip
SONAR-5334 Fix deprecated jQuery API for ajax callback
Diffstat (limited to 'sonar-server/src/main/js')
-rw-r--r--sonar-server/src/main/js/translate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/js/translate.js b/sonar-server/src/main/js/translate.js
index 3853dace0c2..2a32303a6af 100644
--- a/sonar-server/src/main/js/translate.js
+++ b/sonar-server/src/main/js/translate.js
@@ -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);