getPasteIndex might not exist if no edits exist
This commit is contained in:
parent
9d124d65af
commit
86de7f6269
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ pandora.uploadDroppedFiles = function(files) {
|
||||||
var clips, type = getType(items);
|
var clips, type = getType(items);
|
||||||
if (Ox.isUndefined(callback)) {
|
if (Ox.isUndefined(callback)) {
|
||||||
callback = index;
|
callback = index;
|
||||||
index = pandora.$ui.editPanel
|
index = pandora.$ui.editPanel && pandora.$ui.editPanel.getPasteIndex
|
||||||
? pandora.$ui.editPanel.getPasteIndex()
|
? pandora.$ui.editPanel.getPasteIndex()
|
||||||
: void 0;
|
: void 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue