|
|
@ -245,6 +245,9 @@ Core.prototype._create = function (container) { |
|
|
|
} |
|
|
|
|
|
|
|
function handleDrop(event) { |
|
|
|
// prevent redirect to blank page - Firefox
|
|
|
|
if(event.preventDefault) { event.preventDefault(); } |
|
|
|
if(event.stopPropagation) { event.stopPropagation(); } |
|
|
|
// return when dropping non-vis items
|
|
|
|
try { |
|
|
|
var itemData = JSON.parse(event.dataTransfer.getData("text")) |
|
|
|