From 782b05ee96ed9456d92361dc93330d1c3abf14d3 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 16 Sep 2017 20:45:30 +0300 Subject: [PATCH] some tweaking... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index 389ff8be..6358e0d9 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -732,8 +732,19 @@ var DialogsActions = actions.Actions({ -> dialog See browse.Items.EditableList(..) for more info. + + NOTE: this passes the same options to the list item and the + dielog. + XXX this may change in the future... `, makeUIDialog(function(list, options){ + options = Object.create(options || {}) + + // defaults... + options.sortable = options.sortable === undefined ? + true + : options.sortable + return browse.makeLister(null, function(path, make){ make.EditableList(list, options)