diff --git a/ui (gen4)/features/collections.js b/ui (gen4)/features/collections.js index dc1ef2cd..d8b44f18 100755 --- a/ui (gen4)/features/collections.js +++ b/ui (gen4)/features/collections.js @@ -2053,7 +2053,8 @@ var UICollectionActions = actions.Actions({ //'collection-last-used': null, }, - editDefaultCollections: ['Interface/Edit default collections...', + // XXX should this be in Collections/ ??? + editDefaultCollections: ['Interface|Collections/Edit default collections...', widgets.makeConfigListEditorDialog( 'default-collections', { @@ -2228,7 +2229,7 @@ var UICollectionActions = actions.Actions({ update_merge: 'merge', // element edit... - // XXX should this be generic??? + // XXX move to browse??? menu: function(_, from){ var elem = $(this).find('.text').last() from = elem.attr('text') || from diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index 8cd1b5ed..6096a716 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -694,6 +694,10 @@ function(data, options){ // properly... // XXX the problem with this is that it adds elements live while removing // elements on close, either both should be live or both on close... +// XXX add option to make items editable (on by default)... +// ...reuse the code used for new_item... +// for implementation source see: +// collections.UICollectionActions.browseCollections(..) Items.EditableList = function(list, options){ var make = this