01ee5f60ee
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 |
||
---|---|---|
.. | ||
cli | ||
controllers | ||
doc | ||
i18n | ||
static | ||
tests | ||
__init__.py | ||
__openerp__.py | ||
http.py | ||
session.py |