Adding from_uri to dropzones

This commit is contained in:
James Barnsley
2017-02-15 19:21:42 +13:00
parent b8d01ea1f9
commit 1047ad7461
4 changed files with 6 additions and 4 deletions

View File

@ -56,10 +56,11 @@ export function toggleSidebar( new_state = 'toggle' ){
return action
}
export function dragStart( e, context, victims, victims_indexes = false ){
export function dragStart( e, context, from_uri = null, victims, victims_indexes = null ){
return {
type: 'DRAG_START',
context: context,
from_uri: from_uri,
victims: victims,
victims_indexes: victims_indexes,
start_x: e.clientX,