Changeset 590
- Timestamp:
- 04/16/09 11:20:39 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wymeditor/jquery.wymeditor.safari.js
r555 r590 219 219 }; 220 220 221 //TODO222 221 WYMeditor.WymClassSafari.prototype.setFocusToNode = function(node) { 223 /*var range = document.createRange();222 var range = this._iframe.contentDocument.createRange(); 224 223 range.selectNode(node); 225 224 var selected = this._iframe.contentWindow.getSelection(); 226 225 selected.addRange(range); 227 226 selected.collapse(node, node.childNodes.length); 228 this._iframe.contentWindow.focus(); */227 this._iframe.contentWindow.focus(); 229 228 }; 230 229
Note: See TracChangeset
for help on using the changeset viewer.