X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fabout%2Fplugin.js;h=40eae7eeb1042ac4eb0b5a42e454010af7e3be44;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=19cc277e081f61983629a947309bbc55b7184eb8;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/plugins/about/plugin.js b/_source/plugins/about/plugin.js index 19cc277..40eae7e 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-2012, 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', {