Ticket #3875: 3875_2.patch
File 3875_2.patch, 908 bytes (added by , 16 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
676 676 if ( !element ) 677 677 return null; 678 678 679 if ( element.getName() in contextMenuTags && element.hasAscendant( 'table' ))679 while ( element ) 680 680 { 681 return { 682 tablecell : CKEDITOR.TRISTATE_OFF, 683 tablerow : CKEDITOR.TRISTATE_OFF, 684 tablecolumn : CKEDITOR.TRISTATE_OFF 685 }; 681 if ( element.getName() in contextMenuTags ) 682 { 683 return { 684 tablecell : CKEDITOR.TRISTATE_OFF, 685 tablerow : CKEDITOR.TRISTATE_OFF, 686 tablecolumn : CKEDITOR.TRISTATE_OFF 687 }; 688 } 689 element = element.getParent(); 686 690 } 687 691 688 692 return null;