aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-28 00:09:19 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-28 00:09:19 +0100
commitbd58a0a12c21a03574589bb0ad2fc233f4f27a6e (patch)
tree3df1b570972a5ec941e6bf28db487cbd72dc77a2
parentcb625a5fbad5279fffe241ff9855194cd1a6c387 (diff)
parent995cf58d249c6a2ddfd042cc5b509914295c882f (diff)
Merge branch 'CSP-no-inline' into dev
-rw-r--r--app/install.php2
-rw-r--r--p/scripts/install.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/install.php b/app/install.php
index a4a888af2..80e85354d 100644
--- a/app/install.php
+++ b/app/install.php
@@ -829,7 +829,6 @@ case 5:
<title><?php echo _t('install.title'); ?></title>
<link rel="stylesheet" href="../themes/base-theme/template.css?<?php echo @filemtime(PUBLIC_PATH . '/themes/base-theme/template.css'); ?>" />
<link rel="stylesheet" href="../themes/Origine/origine.css?<?php echo @filemtime(PUBLIC_PATH . '/themes/Origine/origine.css'); ?>" />
- <script src="../scripts/install.js?<?php echo @filemtime(PUBLIC_PATH . '/scripts/install.js'); ?>"></script>
<meta name="robots" content="noindex,nofollow" />
</head>
<body>
@@ -877,5 +876,6 @@ case 5:
?>
</div>
</div>
+ <script src="../scripts/install.js?<?php echo @filemtime(PUBLIC_PATH . '/scripts/install.js'); ?>"></script>
</body>
</html>
diff --git a/p/scripts/install.js b/p/scripts/install.js
index 52d8bf8e0..9a49e6031 100644
--- a/p/scripts/install.js
+++ b/p/scripts/install.js
@@ -42,7 +42,7 @@ function auth_type_change() {
var auth_type = document.getElementById('auth_type');
if (auth_type) {
auth_type_change();
- auth_type_change.addEventListener('change', auth_type_change);
+ auth_type.addEventListener('change', auth_type_change);
}
function mySqlShowHide() {