Changeset 4782
- Timestamp:
- 10/03/07 12:11:19 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/tschaub/wfsv/lib/OpenLayers/Control/UndoRedo.js
r4780 r4782 75 75 }; 76 76 this.handler = new OpenLayers.Handler.Keyboard( 77 this, keyboardOptions , {keyMask: OpenLayers.Handler.MOD_CTRL}77 this, keyboardOptions 78 78 ); 79 79 … … 100 100 evt = this.handler.evt; 101 101 102 if (code == this.KEY_Z )102 if (code == this.KEY_Z && evt.ctrlKey == true && evt.shiftKey == false) 103 103 { 104 104 this.undo(); 105 105 } 106 else if ( (code == this.KEY_Y) || (code == this.KEY_Z && evt.ctrlShift == true))106 else if (evt.ctrlKey == true && ((code == this.KEY_Y) || (code == this.KEY_Z && evt.shiftKey == true))) 107 107 108 108 {
