Dropzone add next update

This commit is contained in:
James Barnsley
2017-06-29 07:43:24 +12:00
parent c28cd48bd0
commit 182fa4da08
2 changed files with 4 additions and 4 deletions

View File

@ -49,15 +49,15 @@ class Dropzones extends React.Component{
switch( target.action ){
case 'enqueue':
this.props.mopidyActions.enqueueURIs( uris, this.props.dragger.from_uri )
this.props.mopidyActions.enqueueURIs(uris, this.props.dragger.from_uri)
break
case 'enqueue_next':
this.props.mopidyActions.enqueueURIsNext( uris, this.props.dragger.from_uri )
this.props.mopidyActions.enqueueURIs(uris, this.props.dragger.from_uri, true)
break
case 'add_to_playlist':
this.props.uiActions.openModal( 'add_to_playlist', { tracks_uris: uris } )
this.props.uiActions.openModal('add_to_playlist',{tracks_uris: uris})
break
}
}

View File

@ -115,7 +115,7 @@ class TrackList extends React.Component{
}
var selected_tracks = this.selectedTracks()
this.props.uiActions.dragStart( e, this.props.context, this.props.uri, selected_tracks, this.tracksIndexes(selected_tracks) )
this.props.uiActions.dragStart(e, this.props.context, this.props.uri, selected_tracks, this.tracksIndexes(selected_tracks))
}
handleMouseUp(e,index){