Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-12-11 16:49:26 +03:00
parent 15bbce5162
commit 34ccac61ef

View File

@ -1056,11 +1056,13 @@ browse.items.makeSubContext('field',
// .field.Toggle(title, value[, options]) // .field.Toggle(title, value[, options])
// .field.Toggle(title, 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 // ...this can be set via options.list but would be nice to provide
// a reasonable default... // a reasonable default...
// ...one way to resole context access is to add a .app attribute to // there are several ways this can be done:
// the dialog... // - generic dialogs in browse.js
// - a way to define defaults -- global options?
// - access to the .app -- should be configurable...
browse.items.field.Toggle = browse.items.field.Toggle =
function(title, options){ function(title, options){
var that = this var that = this