[Representation] Spec for DropGesture
Add spec for the drop gesture, as attached to a representation of a domain object. WTD-521.
This commit is contained in:
@@ -17,12 +17,11 @@ define(
|
||||
|
||||
function doPersist() {
|
||||
var persistence = domainObject.getCapability("persistence");
|
||||
return $q.when(persistence && peristence.persist());
|
||||
return $q.when(persistence && persistence.persist());
|
||||
}
|
||||
|
||||
function dragOver(e) {
|
||||
var event = (e || {}).originalEvent || e;
|
||||
//event.stopPropagation();
|
||||
|
||||
// TODO: Vary this based on modifier keys
|
||||
event.dataTransfer.dropEffect = 'move';
|
||||
|
||||
Reference in New Issue
Block a user