From f8f92f55bfa704b1ea11c2f713abdc20c510184e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Thu, 5 Jun 2014 10:22:09 +0200 Subject: [PATCH] SONAR-5334 Fix deprecated jQuery API for ajax callback --- sonar-server/src/main/js/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5