[Drag-Drop] Check for default prevented correctly

Check for defaultPrevented property instead of trying
to check nonexistent method isDefaultPrevented(); for
WTD-1354 in the context of WTD-1233.
This commit is contained in:
Victor Woeltjen
2015-06-26 11:53:45 -07:00
parent f681d07643
commit 286ac5628b
4 changed files with 6 additions and 6 deletions

View File

@ -109,7 +109,7 @@ define(
// Position a panel after a drop event
function handleDrop(e, id, position) {
if (e.isDefaultPrevented()) {
if (e.defaultPrevented) {
return;
}
// Ensure that configuration field is populated