fixed missing for-id link in multiple new folder select field
authorIngo Renner <ingo.renner@typo3.org>
Wed, 3 Dec 2008 01:04:12 +0000 (01:04 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 3 Dec 2008 01:04:12 +0000 (01:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4527 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/file_newfolder.php

index 99e32e5..67f82df 100755 (executable)
@@ -202,10 +202,10 @@ class SC_file_newfolder {
                $this->number = t3lib_div::intInRange($this->number,1,10);
                $code .= '
                        <div id="c-select">
-                               <label for="number">' .
+                               <label for="number-of-new-folders">' .
                                $LANG->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.number_of_folders') .
                                '</label>
-                               <select name="number" onchange="reload(this.options[this.selectedIndex].value);">';
+                               <select name="number" id="number-of-new-folders" onchange="reload(this.options[this.selectedIndex].value);">';
                for ($a=1;$a<=$this->folderNumber;$a++) {
                        $code .= '<option value="' . $a . '"' .
                                        ($this->number == $a ? ' selected="selected"' : '') .