mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(web client) getValue needs to accept all types of html5 text fields
This commit is contained in:
parent
bf076cc096
commit
ec28df0bbc
1 changed files with 5 additions and 1 deletions
|
@ -117,7 +117,11 @@ function PrefsDialog(remote) {
|
|||
case 'radio':
|
||||
return e.prop('checked');
|
||||
|
||||
case 'text':
|
||||
case 'text':
|
||||
case 'url':
|
||||
case 'email':
|
||||
case 'number':
|
||||
case 'search':
|
||||
case 'select-one':
|
||||
str = e.val();
|
||||
if( parseInt(str,10).toString() === str)
|
||||
|
|
Loading…
Reference in a new issue