summaryrefslogtreecommitdiffstats
path: root/core/templates/installation.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-10 16:59:03 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-16 18:45:37 +0100
commit51a22431ee824357dce0100cb000032f29aabd47 (patch)
tree339aa12a968c1738ed19a6edec8df81451f162b1 /core/templates/installation.php
parent3cc33a98a898f247499896ae0674ae680564fb12 (diff)
downloadnextcloud-server-51a22431ee824357dce0100cb000032f29aabd47.tar.gz
nextcloud-server-51a22431ee824357dce0100cb000032f29aabd47.zip
load showpassord.js conditionally in the template only if needed
Diffstat (limited to 'core/templates/installation.php')
-rw-r--r--core/templates/installation.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 9ef63dbfe8c..0b3b0d46c5c 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -1,3 +1,9 @@
+<?php
+script('core', [
+ 'jquery-showpassword',
+ 'installation'
+]);
+?>
<input type='hidden' id='hasMySQL' value='<?php p($_['hasMySQL']) ?>'>
<input type='hidden' id='hasSQLite' value='<?php p($_['hasSQLite']) ?>'>
<input type='hidden' id='hasPostgreSQL' value='<?php p($_['hasPostgreSQL']) ?>'>