From 34ccac61ef998288264281407b3f59213ee8dac7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 11 Dec 2019 16:49:26 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index 5082d859..fd30a971 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1056,11 +1056,13 @@ browse.items.makeSubContext('field', // .field.Toggle(title, value[, options]) // .field.Toggle(title, options) // -// XXX need to open a list dialog (currently context is used)... +// XXX need to open a list (ro/editable) dialog (currently context is used)... // ...this can be set via options.list but would be nice to provide // a reasonable default... -// ...one way to resole context access is to add a .app attribute to -// the dialog... +// there are several ways this can be done: +// - generic dialogs in browse.js +// - a way to define defaults -- global options? +// - access to the .app -- should be configurable... browse.items.field.Toggle = function(title, options){ var that = this