X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fabout%2Fplugin.js;h=29451c6d5a9ef516358c67a798a77720b2650827;hb=refs%2Ftags%2Fv3.6.2;hp=19cc277e081f61983629a947309bbc55b7184eb8;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/plugins/about/plugin.js b/_source/plugins/about/plugin.js index 19cc277..29451c6 100644 --- a/_source/plugins/about/plugin.js +++ b/_source/plugins/about/plugin.js @@ -1,15 +1,17 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'about', { + requires : [ 'dialog' ], init : function( editor ) { var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) ); command.modes = { wysiwyg:1, source:1 }; command.canUndo = false; + command.readOnly = 1; editor.ui.addButton( 'About', {