add drag & drop to clip list in grid view

This commit is contained in:
rolux 2013-07-18 09:52:38 +00:00
commit 0872435c91
2 changed files with 16 additions and 4 deletions

View file

@ -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]
)
);
}