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