Changes between Version 1 and Version 2 of Ticket #8331, comment 3


Ignore:
Timestamp:
Feb 21, 2013, 10:33:39 PM (9 years ago)
Author:
Chris Ingham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8331, comment 3

    v1 v2  
    44{{{
    55CKEDITOR.on('dialogDefinition', function(dialogDefinitionEvent) {
    6 //if ('link' == dialogDefinitionEvent.data.name) {
    7       var dialogDefinition = dialogDefinitionEvent.data.definition;
    8       // Get rid of annoying confirmation dialog on cancel
    9       dialogDefinition.dialog.on('cancel', function(cancelEvent) {
    10           return false;
    11       }, this, null, -1);
     6    //if ('link' == dialogDefinitionEvent.data.name) {
     7        var dialogDefinition = dialogDefinitionEvent.data.definition;
     8        // Get rid of annoying confirmation dialog on cancel
     9        dialogDefinition.dialog.on('cancel', function(cancelEvent) {
     10            return false;
     11        }, this, null, -1);
    1212    //}
    1313});
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy