You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
This is a numeric field
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user