CC-2622: stop current play song, when item is removed from thie list

- fixed
This commit is contained in:
james 2011-09-08 15:09:12 -04:00
parent 4e6cb7e0be
commit 57781f819e
1 changed files with 4 additions and 1 deletions

View File

@ -304,6 +304,9 @@ function addSPLItem(event, ui){
function deleteSPLItem(event){
event.stopPropagation();
// stop any preview playing
$('#jquery_jplayer_1').jPlayer('stop');
var url, pos;
pos = $(this).parent().parent().attr("id").split("_").pop();