odoo/addons/web/static
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
..
lib [ADD] Amharic (Ethiopia) date/time localization for DateJS, courtesy of Michael Telahun Makonnen. 2013-01-16 11:04:11 +01:00
src [FIX] pasting HTML content into the text box, then trying to navigate/alter it 2013-01-23 10:16:00 +01:00
test [FIX] Fixed issue with testing context in eval.js, due to a previous change in get_session_info (context -> user_context) 2013-01-11 10:43:14 +01:00