From 4ee4f0c3656724788baff3ab9749d08cbf52dbb5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 5 Mar 2014 10:22:35 +0100 Subject: [PATCH] Fix position of eye icon on database password field Fix #7304 --- core/js/setup.js | 2 ++ core/templates/installation.php | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/js/setup.js b/core/js/setup.js index 279b5fbebb..96719540f9 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -36,6 +36,7 @@ $(document).ready(function() { $('#showAdvanced').click(function() { $('#datadirContent').slideToggle(250); + $('#databaseBackend').slideToggle(250); $('#databaseField').slideToggle(250); }); $("form").submit(function(){ @@ -73,6 +74,7 @@ $(document).ready(function() { if (currentDbType === 'sqlite' || (dbtypes.sqlite && currentDbType === undefined)){ $('#datadirContent').hide(250); + $('#databaseBackend').hide(250); $('#databaseField').hide(250); } diff --git a/core/templates/installation.php b/core/templates/installation.php index d3adb34f41..a85b68f248 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -84,7 +84,7 @@ 0): ?> -
+
t( 'Configure the database' )); ?> @@ -100,8 +100,10 @@ +
+

@@ -141,8 +143,8 @@ autocomplete="off" autocapitalize="off" autocorrect="off" />

+
-