Is it possible to prevent a Link dialog to come op with an extra "Confirm" dialog when canceling a dialog and something has been changed?
The only way I see is to remove the following code from _source/plugins/dialog/plugin.js (about line 297):
The only way I see is to remove the following code from _source/plugins/dialog/plugin.js (about line 297):
this.on( 'cancel', function( evt )
{
iterContents( function( item )
{
if ( item.isChanged() )
{
if ( !confirm( editor.lang.common.confirmCancel ) )
evt.data.hide = false;
return true;
}
});
}, this, null, 0 );
