X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ftab%2Fplugin.js;h=950fe8262e112a4c40c7a187c68af886e264cfda;hb=refs%2Ftags%2Fv3.6.6;hp=f63cd5b8e07c8fe4ed94dd656197eb06ec52ab88;hpb=e371ddf8abcb89013e20e6d0dd746adec344d0e5;p=ckeditor.git diff --git a/_source/plugins/tab/plugin.js b/_source/plugins/tab/plugin.js index f63cd5b..950fe82 100644 --- a/_source/plugins/tab/plugin.js +++ b/_source/plugins/tab/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -13,6 +13,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license var blurCommand = { + readOnly : 1, exec : function( editor ) { editor.container.focusNext( true, editor.tabIndex ); @@ -21,6 +22,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license var blurBackCommand = { + readOnly : 1, exec : function( editor ) { editor.container.focusPrevious( true, editor.tabIndex ); @@ -38,8 +40,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( editor.focusManager.hasFocus ) { var sel = editor.getSelection(), - ancestor = sel.getCommonAncestor(), - cell; + ancestor = sel.getCommonAncestor(), + cell; if ( ( cell = ( ancestor.getAscendant( 'td', true ) || ancestor.getAscendant( 'th', true ) ) ) ) {