diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index 64e3388d..f19d2b24 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1636,9 +1636,9 @@ var WidgetTestActions = actions.Actions({ make.EditableList(['x', 'y', 'z']) make.Separator() - // BUG: this does not respond well to clicks... - make.Editable('action + clear', { - //start_on: 'select', + // XXX BUG: this does not respond well to clicks... + // ...this occurs on click ig 'start_on' is 'select' (default) + make.Editable('Editable (bug)', { clear_on_edit: true, }) diff --git a/ui (gen4)/lib/util.js b/ui (gen4)/lib/util.js index 775c125f..1fea4eaa 100755 --- a/ui (gen4)/lib/util.js +++ b/ui (gen4)/lib/util.js @@ -474,6 +474,7 @@ if(typeof(jQuery) != typeof(undefined)){ options.activate && options.clear_on_edit + // XXX this for some reason breaks on click... && this.text('') // NOTE: this will also focus the element...