Changeset 12908
- Timestamp:
- 02/28/09 11:26:50 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_XedLib/chrome/content/scenarixedlib/libUiBase/widgets/xedUiRichTextInput.xbl.xml
r12859 r12908 248 248 <method name="controlScroll"> 249 249 <body><![CDATA[ 250 var vRange = this.fRichTextZone.fHTMLEditor.selection.getRangeAt(0); 250 var vHtmlEditor = this.fRichTextZone.fHTMLEditor; 251 if(!vHtmlEditor) return; //pas encore init 252 var vRange = vHtmlEditor.selection.getRangeAt(0); 251 253 var vNode = vRange.startContainer; 252 254 if(vNode.nodeType==3) vNode = vNode.parentNode; … … 269 271 <method name="getRectToEnsureVisible"> 270 272 <body><![CDATA[ 271 var vRange = this.fRichTextZone.fHTMLEditor.selection.getRangeAt(0); 273 var vHtmlEditor = this.fRichTextZone.fHTMLEditor; 274 if(!vHtmlEditor) return; //pas encore init 275 var vRange = vHtmlEditor.selection.getRangeAt(0); 272 276 var vNode = vRange.startContainer; 273 277 if(vNode.nodeType==3) vNode = vNode.parentNode;
Note: See TracChangeset
for help on using the changeset viewer.