diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index 73b7854c..15d1d582 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -161,6 +161,15 @@ pandora.UI = (function() { } } + if (args.edit) { + if ( + !pandora.user.ui.editPoints[args.edit] + && !args['editPoints.' + args.edit] + ) { + add['editPoints.' + args.edit] = {clip: '', 'in': 0, out: 0, position: 0}; + } + } + // items in args trigger events, items in add do not [args, add].forEach(function(obj, isAdd) { Ox.forEach(obj, function(val, key) {