X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fabout%2Fplugin.js;h=40eae7eeb1042ac4eb0b5a42e454010af7e3be44;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=13b2d073985c4a7889415091c1ae2f7804a44835;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/plugins/about/plugin.js b/_source/plugins/about/plugin.js index 13b2d07..40eae7e 100644 --- a/_source/plugins/about/plugin.js +++ b/_source/plugins/about/plugin.js @@ -1,15 +1,17 @@ /* -Copyright (c) 2003-2009, 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', {