Ticket #3056: 3056_2.patch

File 3056_2.patch, 690 bytes (added by Alfonso Martínez de Lizarrondo, 15 years ago)

Updated patch

  • _source/plugins/selection/plugin.js

     
    783783                                        // Try to select the node as a control.
    784784                                        range = this.document.$.body.createControlRange();
    785785                                        range.addElement( element.$ );
     786                                        range.select();
    786787                                }
    787788                                catch(e)
    788789                                {
    789790                                        // If failed, select it as a text range.
    790791                                        range = this.document.$.body.createTextRange();
    791792                                        range.moveToElementText( element.$ );
     793                                        range.select();
    792794                                }
    793795
    794                                 range.select();
    795 
    796796                                this.reset();
    797797                        }
    798798                        else
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy