forked from 0x2620/pandora
add drag & drop to clip list in grid view
This commit is contained in:
parent
f8179ea48a
commit
0872435c91
2 changed files with 16 additions and 4 deletions
|
|
@ -539,9 +539,12 @@ pandora.enableDragAndDrop = function($list, canMove, section) {
|
|||
[targetName.singular, Ox.encodeHTMLEntities(drag.target.name)]
|
||||
)
|
||||
: Ox._(
|
||||
'to ' + (section == 'items'
|
||||
? (pandora.user.ui._list ? 'another' : 'a') + ' ' + targetName.singular
|
||||
: 'an ' + targetName.singular)
|
||||
'to ' + (
|
||||
(section == 'items' && pandora.user.ui._list)
|
||||
|| (section == 'edits' && pandora.user.ui.section == 'edits')
|
||||
? 'another' : (section == 'items' ? 'a' : 'an')
|
||||
) + ' {0}',
|
||||
[targetName.singular]
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue