CC-2301 : fades editor is loading now with a leftoffset for the second track and the cues for both tracks.

This commit is contained in:
Naomi 2013-04-24 14:15:07 -04:00
parent 956bcccd24
commit 179621d687
5 changed files with 46 additions and 8 deletions

View file

@ -304,6 +304,22 @@ PlaylistEditor.prototype.updateEditor = function() {
}
};
PlaylistEditor.prototype.getJson = function() {
var editors = this.trackEditors,
i,
len,
info = [],
json;
for (i = 0, len = editors.length; i < len; i++) {
info.push(editors[i].getTrackDetails());
}
json = JSON.stringify(info);
return info;
};
PlaylistEditor.prototype.save = function() {
var editors = this.trackEditors,
i,