Dropzone add next update
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@ -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){
|
||||
|
||||
Reference in New Issue
Block a user