From 069e52e9196d7db4f70d3f103de50ca5c22586cf Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 24 Nov 2019 02:21:17 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index a999c261..76242186 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -989,6 +989,8 @@ function(title, value, options){ ], options) } // XXX need to open a list dialog (currently context is used)... +// ...this can be set via options.list but would be nice to provide +// a reasonable default... browse.items.Toggle = function(title, value, options){ var that = this @@ -1109,6 +1111,19 @@ function(title, value, options){ +// XXX like .makeEditor(..) but local to make(..) (i.e. generic)... +// XXX should this use any fields available to make(..) or just the editor??? +// ...currently seems that making this fully generic would be more +// logical but would require a better name -- .Batch(..) ??? +//browse.items.makeEditor = +browse.items.Batch = +function(spec, callback){ + // XXX +} + + + + // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - var EditorActions = actions.Actions({