Ticket #4714: plugin_js.diff

File plugin_js.diff, 702 bytes (added by ohtani, 14 years ago)

patch for _source/plugins/selection/plugin.js

  • plugin.js

     
    808808                                }
    809809                                catch(e)
    810810                                {
    811                                         // If failed, select it as a text range.
    812                                         range = this.document.$.body.createTextRange();
    813                                         range.moveToElementText( element.$ );
    814                                         range.select();
     811                                        try // XXX: Ariel hack #23976
     812                                        {
     813                                                // If failed, select it as a text range.
     814                                                range = this.document.$.body.createTextRange();
     815                                                range.moveToElementText( element.$ );
     816                                                range.select();
     817                                        }
     818                                        catch(e)
     819                                        {
     820                                                // If failed, nothing.
     821                                        }
    815822                                }
    816823
    817824                                this.reset();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy