From 394703e819ae3af1899b5bcd7e69f36a1372a336 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 1 Feb 2017 22:50:01 +0300 Subject: [PATCH] ...still looking Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 6 +++--- ui (gen4)/lib/util.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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...