1
0
Fork 0
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:
Mitchell Livingston 2012-02-11 03:49:21 +00:00
parent bf076cc096
commit ec28df0bbc

View file

@ -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)