Skip to content

Commit ba119ff

Browse files
author
Piotr Jasiun
committed
Merge branch 't/9958'
2 parents bde01c9 + 47fd2c0 commit ba119ff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CKEditor 4 Changelog
55

66
* [#9330](http://dev.ckeditor.com/ticket/9330): Fixed pasting anchors from MS Word.
77
* [#8103](http://dev.ckeditor.com/ticket/8103): Fixed pasting nested lists from MS Word.
8+
* [#9958](http://dev.ckeditor.com/ticket/9958): Press ok button will trigger onbeforeunload event in popup-dialog on ie9.
89
* [#10662](http://dev.ckeditor.com/ticket/10662): Fixed styles from Styles drop-down list not registered to the ACF in case when [Shared Spaces plugin](http://ckeditor.com/addon/sharedspace) is used.
910
* [#9654](http://dev.ckeditor.com/ticket/9654): Problems with IE10 Quirks mode.
1011
* [#9816](http://dev.ckeditor.com/ticket/9816): Floating toolbar does not reposition vertically in several cases.

plugins/dialogui/plugin.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,11 @@ CKEDITOR.plugins.add( 'dialogui', {
461461
var element = this.getElement();
462462

463463
(function() {
464-
element.on( 'click', me.click, me );
464+
element.on( 'click', function( evt ) {
465+
me.click();
466+
// #9958
467+
evt.data.preventDefault();
468+
} );
465469

466470
element.on( 'keydown', function( evt ) {
467471
if ( evt.data.getKeystroke() in { 32:1 } ) {

0 commit comments

Comments
 (0)