From f8fb4514a46704e44f37d579af9228d0a03ca7a1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 12 Jan 2020 10:11:10 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index b639bf64..62ac8863 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1104,6 +1104,12 @@ function(title, options){ Object.assign( options, { + // XXX do we need a .type ??? + //type: options.type || 'toggle', + + // XXX need to: + // - call options.open if it exists... + // - do not define this if we already did... open: function(evt){ // XXX CONTEXT... var actions = options.app || that.app