color selector

This commit is contained in:
franzz committed 2015-06-08 20:32:46 +02:00
1 parent bb2e8e8c73
commit 0f7329736e
6 files changed
+23 -10

No files matched your search

+3
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;