minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-06 00:36:21 +03:00
parent ecbcfabb64
commit 27ab1018de

View File

@ -1963,7 +1963,7 @@ var UICollectionActions = actions.Actions({
NOTE: collections are added live and not on dialog close... NOTE: collections are added live and not on dialog close...
`, `,
widgets.makeUIDialog(function(action){ widgets.makeUIDialog(function(action, new_message){
var that = this var that = this
var to_remove = [] var to_remove = []
@ -2069,6 +2069,12 @@ var UICollectionActions = actions.Actions({
// collection list... // collection list...
make.EditableList(collections, make.EditableList(collections,
{ {
new_item: new_message ?
new_message
: action ?
'$New..'
: '$New from current state...',
unique: true, unique: true,
sortable: 'y', sortable: 'y',
to_remove: to_remove, to_remove: to_remove,