Index: trunk/extensions/VisualEditor/modules/es/views/es.ContextView.js |
— | — | @@ -49,8 +49,10 @@ |
50 | 50 | '<div><a href="#cancel">Cancel</a> <button>Change</button></div>' + |
51 | 51 | '</div>' |
52 | 52 | ); |
53 | | - this.$panels.find( '[href="#cancel"]' ).click( function() { |
| 53 | + this.$panels.find( '[href="#cancel"]' ).click( function( e ) { |
54 | 54 | _this.$panels.children().hide(); |
| 55 | + e.preventDefault(); |
| 56 | + return false; |
55 | 57 | } ); |
56 | 58 | |
57 | 59 | // Events |