]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR 4726 - Remove prototypejs from home-made JS libs
authorstephenbroyer <stephen.broyer@sonarsource.com>
Thu, 26 Sep 2013 08:37:56 +0000 (10:37 +0200)
committerstephenbroyer <stephen.broyer@sonarsource.com>
Thu, 26 Sep 2013 13:19:36 +0000 (15:19 +0200)
(application.js)

sonar-server/src/main/webapp/javascripts/application.js

index 7891669b50d08edb32e4370b7ba8ad7cf53a6a75..16a60a6afea2ceb495aee7608c21bb8e5f5b47f6 100644 (file)
@@ -1,6 +1,6 @@
 function showMessage(div_id, message) {
-  $(div_id + 'msg').innerHTML = message;
-  $(div_id).show();
+  $j('#' + div_id + 'msg').html(message);
+  $j('#' + div_id).show();
 }
 function error(message) {
   showMessage('error', message);