second patch to fix #549. this time, instead of just clearing out everything in the div, it removes only what it added.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2858 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -367,7 +367,7 @@
|
||||
map.destroy();
|
||||
t.eq( map.layers, null, "map.layers is null after destroy" );
|
||||
t.eq( map.controls, null, "map.controls is null after destroy" );
|
||||
t.eq( map.div.innerHTML, "", "map's div cleared out");
|
||||
t.eq( map.viewPortDiv, null, "map's viewportDiv nullified");
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user