odoo/addons/web
Xavier Morel 01ee5f60ee [FIX] pasting HTML content into the text box, then trying to navigate/alter it
Navigation implementation can only deal with straight text (and
asserts that), if HTML is pasted in a search input
InputView#getSelection will throw errors and refuse to act.

Clean up input content after a paste event, to ensure only plain text
is present so it can be navigated.

Don't forget to correctly re-set the cursor at the end of the input
data, otherwise the user will face various deep DOM errors when trying
to move around the input with the arrow keys (which he would usually
be able to do after a paste).

lp bug: https://launchpad.net/bugs/1102237 fixed

bzr revid: xmo@openerp.com-20130123091600-nd4rwqpin6qj8ult
2013-01-23 10:16:00 +01:00
..
cli [FIX] test_js typo 2012-12-09 05:30:15 +01:00
controllers [FIX] Fix not working code, and some cleaning proposed by AL 2012-12-26 19:18:33 +01:00
doc [DOC] remove openerpdev intersphinx, add ref to module doc 2013-01-17 10:27:22 +01:00
i18n Launchpad automatic translations update. 2013-01-23 06:03:28 +00:00
static [FIX] pasting HTML content into the text box, then trying to navigate/alter it 2013-01-23 10:16:00 +01:00
tests [IMP] menu loading: simplify/optimize menu loading mechanism and de-duplicate need_action load, use child_of, skip useless calls, update tests 2012-12-12 21:51:20 +01:00
__init__.py minor fixes 2012-12-19 03:49:46 +01:00
__openerp__.py [MERGE] from trunk 2012-11-20 11:17:33 +01:00
http.py [MERGE] trunk 2012-12-19 03:50:47 +01:00
session.py [FIX] problem when multiple instances of the web client run in tabs and we disconnect from one tab, now displays a better error message 2013-01-08 17:41:04 +01:00