Ticket #6336: 6336.patch
File 6336.patch, 873 bytes (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
542 542 data.dialog && editor.openDialog( data.dialog ); 543 543 }); 544 544 545 // Prevent automatic submission in IE #6336 546 CKEDITOR.env.ie && domDocument.on( 'click', function( evt ) 547 { 548 var element = evt.data.getTarget(); 549 if ( element.is( 'input' ) ) 550 { 551 var type = element.getAttribute( 'type' ); 552 if ( type == 'submit' || type == 'reset' ) 553 evt.data.preventDefault() 554 } 555 }); 556 545 557 // Gecko/Webkit need some help when selecting control type elements. (#3448) 546 558 if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera ) ) 547 559 {