Index: trunk/extensions/EducationProgram/resources/ep.formpage.js |
— | — | @@ -12,8 +12,9 @@ |
13 | 13 | |
14 | 14 | $( '#bodyContent' ).find( '[type="submit"]' ).button(); |
15 | 15 | |
16 | | - $( '#cancelEdit' ).click( function() { |
| 16 | + $( '#cancelEdit' ).click( function( event ) { |
17 | 17 | window.location = $( this ).attr( 'target-url' ); |
| 18 | + event.preventDefault(); |
18 | 19 | } ); |
19 | 20 | |
20 | 21 | } ); |