Merge branch 'saas-showbuilder' of github.com:sourcefabric/Airtime into saas-showbuilder

This commit is contained in:
Albert Santoni 2015-08-18 17:13:35 -04:00
commit b3371c2a2f
1 changed files with 2 additions and 2 deletions

View File

@ -1010,12 +1010,12 @@ var AIRTIME = (function(AIRTIME) {
callback = function() {
if (data.ftype === 'playlist' && data.length !== '0.0'){
playlistIndex = $(this).parent().attr('id').substring(3); // remove the pl_
playlistIndex = $(this).attr('id').substring(3); // remove the pl_
open_playlist_preview(playlistIndex, 0);
} else if (data.ftype === 'audioclip' || data.ftype === 'stream') {
open_audio_preview(data.ftype, data.id);
} else if (data.ftype === 'block') {
blockIndex = $(this).parent().attr('id').substring(3); // remove the pl_
blockIndex = $(this).attr('id').substring(3); // remove the pl_
open_block_preview(blockIndex, 0);
}
};