color selector

This commit is contained in:
2015-06-08 20:32:46 +02:00
parent bb2e8e8c73
commit 0f7329736e
6 changed files with 23 additions and 10 deletions

View File

@@ -158,6 +158,9 @@ function addOption(iArrayId, optInfo, $Box)
case databap.consts.opt_type_text:
$Option.append($('<input>', {type:'text', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
break;
case databap.consts.opt_type_color:
$Option.append($('<input>', {type:'color', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
break;
case databap.consts.opt_type_pass:
$Option.append($('<input>', {type:'password', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
break;