odoo/addons/web/static/src/js
Nicolas Lempereur b5d7e663b4 [FIX] web: readonly field and tab
When we go from one field to another via the tab key, in the form view what happens is:

{{we get a blur from the current field}}
-> if [[widget was not in state clicked (which can be gotten for example by clicking on a focused field)]]
     -> blur event is cancelled,
     -> the blur event is set to be triggered soon
-> the clicked state is set to false

{{we may get a focus for the next field}}
-> if [next field get an onfocus event]
     -> blur event is cancelled,

So if :
- the state is not clicked and,
- the next field don't get an focus event.

We get a blur event which will either save (if a field value has been changed) or cancel
the form view editing and will hide the current edition, hence losing the focus.

For example, it happens on a readonly fields with  field containing an `<a />` tag, on
some browser (for example google chrome), the focus event will not get triggered (it still
work if we were in a clicked state) so we can't cycle thought a list editable cells if there is a readonly field in it.

closes #7446
opw-643718
2015-07-06 11:55:01 +02:00
..
boot.js [IMP] Include openerpframework in common assets. Add module list in bundle 2014-05-12 17:18:12 +02:00
chrome.js [IMP] web, point_of_sale: basic implementation of the cordova integration. 2015-05-29 15:33:13 +02:00
core.js [FIX] web: correctly retrieve exception from @serialize_exception 2015-01-21 17:03:54 +01:00
data.js [FIX] web: binary fields in one2many widgets 2015-06-25 11:45:47 +02:00
data_export.js [FIX] web: display error message when export fail. 2015-01-21 17:05:55 +01:00
formats.js [MERGE] forward port of branch saas-3 up to 50665b4 2015-04-16 19:25:53 +02:00
openerpframework.js [FIX] web: float seen as changed with digits set to 0 2015-04-03 16:37:28 +02:00
pyeval.js [FIX] web: backport datetime.toJSON() so we can return local datetimes in search domains 2015-04-23 14:05:56 +02:00
search.js [MERGE] forward port of branch saas-3 up to e552e09 2015-04-30 15:45:03 +02:00
test_support.js [IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons. 2013-08-06 14:50:22 +02:00
testing.js [IMP] Convered qunit test suite to template 2014-04-28 20:24:51 +02:00
tour.js [IMP] website: improved tours error message and race conditions 2015-04-29 10:25:20 +02:00
view_form.js [FIX] web: binary fields in one2many widgets 2015-06-25 11:45:47 +02:00
view_list.js [FIX] web: binary fields in one2many widgets 2015-06-25 11:45:47 +02:00
view_list_editable.js [FIX] web: readonly field and tab 2015-07-06 11:55:01 +02:00
view_tree.js [CHG] Fix task 7536 / PR #499 differently 2015-01-14 13:28:23 +01:00
views.js [ADD] web: prevent the propagation of context keys containing prefix show_ 2015-06-22 14:06:11 +02:00
watch.js [FIX] Add prototype watch in js object. That will allow to listen change on some library for example. It's used to know if jquery is overrided by an external script. 2014-04-14 16:58:02 +02:00