[FIX] web_editor: oStyle.range can be undefined
[FIX] web_editor: oStyle.range can be undefined

On initialisation summernote call update method with oStyle.range is undefined.
The range can be undefined because the update is call before any selection and attach method from summernote call the update without range.
The method summernote_table_update try to use the range and raise an exception.

fix: Check if oStyle.range exits.

syci/OCB,Elico-Corp/odoo_OCB,hip-odoo/odoo,bplancher/odoo,sysadminmatmoz/OCB,dfang/odoo,syci/OCB,storm-computers/odoo,stephen144/odoo,syci/OCB,syci/OCB,dfang/odoo,microcom/odoo,storm-computers/odoo,dfang/odoo,sysadminmatmoz/OCB,bplancher/odoo,microcom/odoo,storm-computers/odoo,laslabs/odoo,syci/OCB,syci/OCB,laslabs/odoo,stephen144/odoo,sysadminmatmoz/OCB,laslabs/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,optima-ict/odoo,ygol/odoo,bplancher/odoo,storm-computers/odoo,microcom/odoo,ygol/odoo,ygol/odoo,laslabs/odoo,optima-ict/odoo,Elico-Corp/odoo_OCB,sysadminmatmoz/OCB,optima-ict/odoo,optima-ict/odoo,stephen144/odoo,dfang/odoo,sysadminmatmoz/OCB,ygol/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,ygol/odoo,bplancher/odoo,optima-ict/odoo,microcom/odoo,stephen144/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,laslabs/odoo,hip-odoo/odoo,microcom/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,sysadminmatmoz/OCB,Elico-Corp/odoo_OCB,bplancher/odoo,microcom/odoo,ygol/odoo,storm-computers/odoo,optima-ict/odoo,stephen144/odoo,hip-odoo/odoo,storm-computers/odoo,dfang/odoo,Elico-Corp/odoo_OCB,stephen144/odoo