[BUGFIX] Install tool css id used twice 46/52346/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 3 Apr 2017 20:04:42 +0000 (22:04 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 5 Apr 2017 19:04:53 +0000 (21:04 +0200)
css id 't3-install-password' is used twice in 'change install tool password'
and again in 'create administrator', clicking the password label of the admin
section thus sets focus on the 'change install tool password' input field.

Rename css if of the 'create administrator' section.

Change-Id: Iaacd87b5df77cee20593018303e5943df4801d0a
Resolves: #80607
Releases: master
Reviewed-on: https://review.typo3.org/52346
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/CreateAdministrator.html

index e3cd700..ac8a549 100644 (file)
@@ -6,10 +6,10 @@
 <form method="post" class="form-horizontal">
        <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
        <div class="form-group">
-               <label for="t3-install-username" class="col-sm-3 control-label">Username:</label>
+               <label for="t3-install-admin-username" class="col-sm-3 control-label">Username:</label>
                <div class="col-sm-9">
                        <input
-                                       id="t3-install-username"
+                                       id="t3-install-admin-username"
                                        class="t3-install-form-input-text form-control"
                                        type="text"
                                        name="install[values][newUserUsername]"
                </div>
        </div>
        <div class="form-group">
-               <label for="t3-install-password" class="col-sm-3 control-label">Password:</label>
+               <label for="t3-install-admin-password" class="col-sm-3 control-label">Password:</label>
                <div class="col-sm-9">
                        <input
-                                       id="t3-install-password"
+                                       id="t3-install-admin-password"
                                        class="t3-install-form-input-text t3-install-form-password-strength form-control"
                                        type="password"
                                        name="install[values][newUserPassword]"
                </div>
        </div>
        <div class="form-group">
-               <label for="t3-install-password-repeat" class="col-sm-3 control-label">Repeat password:</label>
+               <label for="t3-install-admin-password-repeat" class="col-sm-3 control-label">Repeat password:</label>
                <div class="col-sm-9">
                        <input
-                                       id="t3-install-password-repeat"
+                                       id="t3-install-admin-password-repeat"
                                        class="t3-install-form-input-text form-control"
                                        type="password"
                                        name="install[values][newUserPasswordCheck]"