mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
notes and minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9e0d463633
commit
d5cf7500c4
@ -2053,7 +2053,8 @@ var UICollectionActions = actions.Actions({
|
|||||||
//'collection-last-used': null,
|
//'collection-last-used': null,
|
||||||
},
|
},
|
||||||
|
|
||||||
editDefaultCollections: ['Interface/Edit default collections...',
|
// XXX should this be in Collections/ ???
|
||||||
|
editDefaultCollections: ['Interface|Collections/Edit default collections...',
|
||||||
widgets.makeConfigListEditorDialog(
|
widgets.makeConfigListEditorDialog(
|
||||||
'default-collections',
|
'default-collections',
|
||||||
{
|
{
|
||||||
@ -2228,7 +2229,7 @@ var UICollectionActions = actions.Actions({
|
|||||||
update_merge: 'merge',
|
update_merge: 'merge',
|
||||||
|
|
||||||
// element edit...
|
// element edit...
|
||||||
// XXX should this be generic???
|
// XXX move to browse???
|
||||||
menu: function(_, from){
|
menu: function(_, from){
|
||||||
var elem = $(this).find('.text').last()
|
var elem = $(this).find('.text').last()
|
||||||
from = elem.attr('text') || from
|
from = elem.attr('text') || from
|
||||||
|
|||||||
@ -694,6 +694,10 @@ function(data, options){
|
|||||||
// properly...
|
// properly...
|
||||||
// XXX the problem with this is that it adds elements live while removing
|
// 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...
|
// 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 =
|
Items.EditableList =
|
||||||
function(list, options){
|
function(list, options){
|
||||||
var make = this
|
var make = this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user