From 27ab1018de0fd2157b48babae62b4b551542f2e4 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 6 Dec 2017 00:36:21 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/collections.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/collections.js b/ui (gen4)/features/collections.js index fa48fc0b..5ba83134 100755 --- a/ui (gen4)/features/collections.js +++ b/ui (gen4)/features/collections.js @@ -1963,7 +1963,7 @@ var UICollectionActions = actions.Actions({ NOTE: collections are added live and not on dialog close... `, - widgets.makeUIDialog(function(action){ + widgets.makeUIDialog(function(action, new_message){ var that = this var to_remove = [] @@ -2069,6 +2069,12 @@ var UICollectionActions = actions.Actions({ // collection list... make.EditableList(collections, { + new_item: new_message ? + new_message + : action ? + '$New..' + : '$New from current state...', + unique: true, sortable: 'y', to_remove: to_remove,