bug in make.List(..) ???

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-08-16 14:47:30 +03:00
parent 764e78b4f4
commit a12f3b5c81

View File

@ -130,6 +130,7 @@ var UIAliasActions = actions.Actions({
var names = Object.keys(aliases) var names = Object.keys(aliases)
names.length > 0 ? names.length > 0 ?
// XXX for some reason this does not get updated on dialog.update()
make.EditableList(names, make.EditableList(names,
{ {
new_item: false, new_item: false,
@ -172,9 +173,7 @@ var UIAliasActions = actions.Actions({
}) })
.close(function(){ .close(function(){
to_remove.forEach(function(alias){ to_remove.forEach(function(alias){
that.alias(alias, null) that.alias(alias, null) }) })
})
})
})], })],
// NOTE: this does not include an attr editor by design... // NOTE: this does not include an attr editor by design...