To test real-life conditions, we cannot just use a bogus function to deactivate the control. (closes #1710)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7893 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -186,6 +186,7 @@
|
|||||||
control.handlers.feature.deactivate = function() {
|
control.handlers.feature.deactivate = function() {
|
||||||
t.ok(true,
|
t.ok(true,
|
||||||
"control.deactivate calls deactivate on feature handler");
|
"control.deactivate calls deactivate on feature handler");
|
||||||
|
OpenLayers.Handler.Feature.prototype.deactivate.apply(this, arguments);
|
||||||
}
|
}
|
||||||
control.handlers.box.deactivate = function() {
|
control.handlers.box.deactivate = function() {
|
||||||
t.ok(true,
|
t.ok(true,
|
||||||
|
|||||||
Reference in New Issue
Block a user