diff --git a/static/js/utils.js b/static/js/utils.js index 2b6833f7e..067822e5c 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -559,7 +559,7 @@ pandora.uploadDroppedFiles = function(files) { var clips, type = getType(items); if (Ox.isUndefined(callback)) { callback = index; - index = pandora.$ui.editPanel + index = pandora.$ui.editPanel && pandora.$ui.editPanel.getPasteIndex ? pandora.$ui.editPanel.getPasteIndex() : void 0; }