Opened 14 years ago

Closed 12 years ago

#920 closed defect (fixed)

memory leaks in IE while using dojo.dnd

Reported by: sonik@… Owned by: psowden
Priority: high Milestone: 0.9
Component: DnD Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

very simple example of using dojo.dnd leaks memory in IE


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<style type="text/css">
.chart	{	position: absolute;
			top: 0px;
			left: 0px;
			width: 1000px;
			height: 800px;
			border: 1px solid #333;
			background-color: #eee;
		}
.res	{	position: absolute;
			top: 191px;
			left: 100px;
			width: 200px;
			height: 50px;
			border: 1px solid #333;
			background-color: #f00;
		}
</style>
<script language="javascript" src="../javascript/dojo/dojo.js"></script>
<script language="javascript">
dojo.require("dojo.dnd.*");
function makeDragable() {
	var ds=new dojo.dnd.HtmlDragSource("block", "res");
	var chart=new dojo.dnd.HtmlDropTarget("chart", ["res"]);
}
</script>
</head>
<body onload="makeDragable()">
<div id="chart" class="chart">
<div id="block" class="res">drag 1</div>
</div>
</body>
</html>

Change History (3)

comment:1 Changed 13 years ago by dylan

Component: GeneralIO
Milestone: 0.5
Owner: changed from anonymous to alex

comment:2 Changed 13 years ago by dylan

Component: IODnD
Owner: changed from alex to psowden

comment:3 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: newclosed

Fixed in 0.9.

Note: See TracTickets for help on using tickets.