forked from 0x2620/pandora
fix drag and drop from edit to edit and from clips to edit fixes #2247
This commit is contained in:
parent
5ce83cbe63
commit
1022e3debf
3 changed files with 30 additions and 24 deletions
|
|
@ -23,7 +23,13 @@ pandora.ui.editPanel = function(isEmbed) {
|
|||
function enableDragAndDrop() {
|
||||
pandora.enableDragAndDrop(
|
||||
Ox.$elements[that.find('.OxIconList').data('oxid')],
|
||||
edit.editable
|
||||
edit.editable,
|
||||
'edits',
|
||||
function($list) {
|
||||
return serializeClips($list.options('selected')).map(function(id) {
|
||||
return id.split('/').slice(0, 2).join('/');
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue