form example: enable color picker, remove print statement

This commit is contained in:
rolux 2012-07-09 16:31:30 +02:00
parent 3ea3600a23
commit 975c43ba57

View file

@ -210,19 +210,19 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
}
]
},
//ColorInput: {
// description: '...',
// options: [
// {
// description: 'RGB',
// value: [255, 0, 0]
// },
// {
// description: 'HSL',
// mode: 'hsl'
// }
// ]
//},
ColorInput: {
description: '...',
options: [
{
description: 'RGB',
value: [255, 0, 0]
},
{
description: 'HSL',
mode: 'hsl'
}
]
},
DateInput: {
description: 'Allows you to enter a date.',
options: [
@ -698,9 +698,6 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
function showValues(data) {
setTimeout(function() {
Ox.print(Ox.extend(
{}, data.section, $form.values()[data.section]
))
$panel.replaceElement(1,
Ox.TreeList({
data: Ox.extend(