mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
looking for a bug in .makeEditable(..)
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3aa987d3d3
commit
91c7334a14
@ -1635,6 +1635,14 @@ var WidgetTestActions = actions.Actions({
|
|||||||
|
|
||||||
make.EditableList(['x', 'y', 'z'])
|
make.EditableList(['x', 'y', 'z'])
|
||||||
|
|
||||||
|
make.Separator()
|
||||||
|
// BUG: this does not respond well to clicks...
|
||||||
|
make.Editable('action + clear', {
|
||||||
|
//start_on: 'select',
|
||||||
|
clear_on_edit: true,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// NOTE: the dialog's .parent is not yet set at this point...
|
// NOTE: the dialog's .parent is not yet set at this point...
|
||||||
|
|
||||||
|
|||||||
@ -754,7 +754,7 @@ function(list, options){
|
|||||||
&& res.on('open', function(){ options.itemopen(dialog.selected) })
|
&& res.on('open', function(){ options.itemopen(dialog.selected) })
|
||||||
|
|
||||||
res = res.toArray()
|
res = res.toArray()
|
||||||
|
|
||||||
// new button...
|
// new button...
|
||||||
if(options.new_item !== false){
|
if(options.new_item !== false){
|
||||||
var new_item = options.new_item || true
|
var new_item = options.new_item || true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user