Ticket #4273: fcktablehandler_gecko.js-select-bug.patch
| File fcktablehandler_gecko.js-select-bug.patch, 706 bytes (added by dshafik, 3 years ago) |
|---|
-
editor/_source/internals/fcktablehandler_gecko.js
old new 27 27 28 28 var oSelection = FCKSelection.GetSelection() ; 29 29 30 // If the selection is a text. 31 if ( oSelection.rangeCount == 1 && oSelection.anchorNode.nodeType == 3 ) 30 // If the selection is a text, or a list item 31 // Note: If they have at able in a list, we could be in trouble 32 if ( oSelection.rangeCount == 1 && oSelection.anchorNode.nodeType == 3 || oSelection.anchorNode.tagName == 'LI' ) 32 33 { 33 34 var oParent = FCKTools.GetElementAscensor( oSelection.anchorNode, 'TD,TH' ) ; 34 35
