notes and minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-11 05:02:59 +03:00
parent 9e0d463633
commit d5cf7500c4
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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