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