Ticket #3056: 3056_2.patch
File 3056_2.patch, 690 bytes (added by , 15 years ago) |
---|
-
_source/plugins/selection/plugin.js
783 783 // Try to select the node as a control. 784 784 range = this.document.$.body.createControlRange(); 785 785 range.addElement( element.$ ); 786 range.select(); 786 787 } 787 788 catch(e) 788 789 { 789 790 // If failed, select it as a text range. 790 791 range = this.document.$.body.createTextRange(); 791 792 range.moveToElementText( element.$ ); 793 range.select(); 792 794 } 793 795 794 range.select();795 796 796 this.reset(); 797 797 } 798 798 else