diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index 6e05f4ab..85bf92c8 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1616,34 +1616,23 @@ var WidgetTestActions = actions.Actions({ make('Normal item') - make.Editable('Select to edit...') + // this is the same as make('...') + make.Separator() - make.Editable('Enter to edit (cleared)...', { + make.Editable('Editable (Select to edit)') + + make.Editable('Editable (Enter to edit, cleared)...', { start_on: 'open', clear_on_edit: true, }) - e = make.Editable('Nested editable...') - e.parent().append($('
').append(e)) - - // this is the same as make('...') - make.Separator() - + make.Heading('List:') make.List(['a', 'b', 'c']) make.Separator() make.EditableList(['x', 'y', 'z']) - make.Separator() - // XXX BUG: this does not respond well to clicks... - // ...this occurs on click ig 'start_on' is 'select' (default) - // for some reason this triggers .update() on the dialog... - make.Editable('Editable (bug)', { - clear_on_edit: true, - }) - - // NOTE: the dialog's .parent is not yet set at this point... // This will finalize the dialog...