This is a numeric field
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
85064d4ae3
commit
eb3c00dfcb
@ -185,8 +185,8 @@ function PMA_getHtmlForTableNameAndNoOfColumns()
|
||||
. '</td>'
|
||||
. '<td>';
|
||||
$html .= sprintf(
|
||||
__('Add %s column(s)'), '<input type="text" id="added_fields" '
|
||||
. 'name="added_fields" size="2" value="1" onfocus="this.select'
|
||||
__('Add %s column(s)'), '<input type="number" id="added_fields" '
|
||||
. 'name="added_fields" size="2" value="1" min="1" onfocus="this.select'
|
||||
. '()" />'
|
||||
);
|
||||
|
||||
|
||||
@ -231,8 +231,8 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" id="added_fields" name="added_fields" '
|
||||
. 'size="2" value="1" onfocus="this.select()"'
|
||||
'<input type="number" id="added_fields" name="added_fields" '
|
||||
. 'size="2" value="1" min="1" onfocus="this.select()"'
|
||||
),
|
||||
$result
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user