Ticket #5365: 5365.patch
File 5365.patch, 1.2 KB (added by , 14 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
51 51 52 52 if ( typeValue == 'url' ) 53 53 { 54 if ( editor.config.linkShowTargetTab ) 55 dialog.showPage( 'target' ); 54 dialog.showPage( 'target' ); 56 55 if ( !uploadInitiallyHidden ) 57 56 dialog.showPage( 'upload' ); 58 57 } … … 1363 1362 delete this._.selectedElement; 1364 1363 } 1365 1364 }, 1366 onLoad : function()1367 {1368 if ( !editor.config.linkShowAdvancedTab )1369 this.hidePage( 'advanced' ); //Hide Advanded tab.1370 1371 if ( !editor.config.linkShowTargetTab )1372 this.hidePage( 'target' ); //Hide Target tab.1373 1374 },1375 1365 // Inital focus on 'url' field if link is of type URL. 1376 1366 onFocus : function() 1377 1367 { -
_source/plugins/link/plugin.js
212 212 startDisabled : true 213 213 }; 214 214 215 CKEDITOR.tools.extend( CKEDITOR.config,216 {217 linkShowAdvancedTab : true,218 linkShowTargetTab : true219 } );