Changeset 8021
- Timestamp:
- 09/16/08 12:23:43 (3 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Control/Navigation.js (modified) (1 diff)
- trunk/openlayers/tests/Control/Navigation.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control/Navigation.js
r7872 r8021 53 53 * {Boolean} Whether or not to handle right clicks. Default is false. 54 54 */ 55 handleRightClicks: true,55 handleRightClicks: false, 56 56 57 57 /** trunk/openlayers/tests/Control/Navigation.html
r6719 r8021 5 5 6 6 function test_Control_Navigation_constructor (t) { 7 t.plan( 2);7 t.plan( 3 ); 8 8 var temp = OpenLayers.Control.prototype.initialize; 9 9 OpenLayers.Control.prototype.initialize = function() { … … 13 13 var control = new OpenLayers.Control.Navigation(); 14 14 t.ok( control instanceof OpenLayers.Control.Navigation, "new OpenLayers.Control returns object" ); 15 16 t.ok( !control.handleRightClicks, "'handleRightClicks' property is disabled by default"); 15 17 16 18 OpenLayers.Control.prototype.initialize = temp;
