Removed required property
authorAlexander Ebert <ebert@woltlab.com>
Tue, 25 Apr 2017 14:43:39 +0000 (16:43 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 25 Apr 2017 14:43:39 +0000 (16:43 +0200)
Server-side validation will catch this anyway and browser's don't play
nice with this attribute when the input field is hidden due to a tab
menu.

wcfsetup/install/files/acp/templates/boxAdd.tpl
wcfsetup/install/files/acp/templates/pageAdd.tpl

index f0fb7385a33535399c5384ebf4d95cd57dfbc89d..7d3e8b7ce16396601c3cea38ed6da2288175637b 100644 (file)
@@ -81,7 +81,7 @@
                                <dl{if $errorField == 'name'} class="formError"{/if}>
                                        <dt><label for="name">{lang}wcf.global.name{/lang}</label></dt>
                                        <dd>
-                                               <input type="text" id="name" name="name" value="{$name}" required autofocus class="long" maxlength="255">
+                                               <input type="text" id="name" name="name" value="{$name}" autofocus class="long" maxlength="255">
                                                {if $errorField == 'name'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}
index a22e51c0644c5f94418b819d760f22be8d5b800e..8ce13753e4aa09c3eb55e015ef92c3cc7bbfbe68 100644 (file)
@@ -96,7 +96,7 @@
                                <dl{if $errorField == 'name'} class="formError"{/if}>
                                        <dt><label for="name">{lang}wcf.global.name{/lang}</label></dt>
                                        <dd>
-                                               <input type="text" id="name" name="name" value="{$name}" required autofocus class="long" maxlength="255">
+                                               <input type="text" id="name" name="name" value="{$name}" autofocus class="long" maxlength="255">
                                                {if $errorField == 'name'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}