From 08325ab399b4e11f51b008e1d38ed70fa783be5d Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 8 Aug 2013 17:08:59 +0000 Subject: [PATCH] don't insert at index -1 --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 960fdf59e..e3a50d0fb 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -383,7 +383,7 @@ pandora.createLinks = function($element) { } }); } else { - pandora.api.addClips({clips: getClipData(items), edit: target, index: -1}, callback); + pandora.api.addClips({clips: getClipData(items), edit: target, index: 0}, callback); } }