diff --git a/ui (gen4)/features/examples.js b/ui (gen4)/features/examples.js index ff22efe6..a5f7bc30 100755 --- a/ui (gen4)/features/examples.js +++ b/ui (gen4)/features/examples.js @@ -951,6 +951,7 @@ var ExampleUIActions = actions.Actions({ '---', ['X', 'Y'], {type: 'Toggle', title: 'foo', values: ['1','2','3'], list: false}, + {type: 'Toggle', title: 'foo (w. list)', values: ['1','2','3']}, {type: 'Toggle', title: 'Batch toggle 2: '}, ], function(){ diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index bffedcd1..0d835156 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1073,6 +1073,9 @@ browse.items.makeSubContext('field', // XXX do we actually need this??? // ....showList(..) seems too trivial... // need to make the upstream version to accept both signatures... +// XXX these will not work as-is as they need to attach the resulting +// dialog to a container (see: makeUIDialog(..))... +// ...as-is these simply create a DOM object and return it... browse.showList = function(list, options){ return browse.makeList(null, list, options) } browse.showEditableList = function(list, options){