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

typo3/file_upload.php

index 01585e0..68b48d2 100755 (executable)
@@ -213,10 +213,10 @@ class SC_file_upload {
                $this->number = t3lib_div::intInRange($this->number,1,10);
                $code .= '
                        <div id="c-select">
-                               <label for="number">' .
+                               <label for="number-of-uploads">' .
                                $LANG->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.number_of_files') .
                                '</label>
-                               <select name="number" onchange="reload(this.options[this.selectedIndex].value);">';
+                               <select name="number" id="number-of-uploads" onchange="reload(this.options[this.selectedIndex].value);">';
                for ($a=1;$a<=$this->uploadNumber;$a++) {
                        $code.='<option value="' . $a . '"' .
                                                ($this->number == $a ? ' selected="selected"' : '' ) .