summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main
diff options
context:
space:
mode:
authorstephenbroyer <stephen.broyer@sonarsource.com>2013-09-24 10:43:01 +0200
committerstephenbroyer <stephen.broyer@sonarsource.com>2013-09-24 10:43:34 +0200
commit18402668817bcd3a3b725e37932dce85681992b6 (patch)
treeb710eb2fa980b2542a4086a853a422593b71fefc /sonar-server/src/main
parent611bb858911e81299d528ebd1dc7ba8681a3c208 (diff)
downloadsonarqube-18402668817bcd3a3b725e37932dce85681992b6.tar.gz
sonarqube-18402668817bcd3a3b725e37932dce85681992b6.zip
SONAR-4613 Remove prototypejs from "Update Center" administration console
(modification of the file available.html.erb which failed to IT)
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
index 243f23dc6d8..9a78d6e9c08 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
@@ -2,7 +2,7 @@
function installPlugin(key) {
/* check terms & conditions */
var tc=$j('#tc-' + key);
- if (tc!=null && !tc.prop('checked')) {
+ if (tc.length!=0 && !tc.prop('checked')) {
alert('Please accept the Terms and Conditions');
return false;
}