odoo/addons/web/static/src
Xavier Morel 32d90f6014 [FIX] cleanup m2o field events when reloading m2o fields
The big issue was the hooking on the closest ui-dialog's scroll event:
if an m2o in a dialog (e.g. wizard-type situations) toggled state from
editable to readonly (workflow action of some sort), the event hook
would remain, and call .$input.autocomplete("widget") which would blow
up because the autocompletion widget hasn't been re-initialized.

Take care to fully unbind all events during the reload process to
avoid this issue (and potentially other such as duplicate bindings and
the like).

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

bzr revid: xmo@openerp.com-20130306145527-sssv7ocfvqxgv896
2013-03-06 15:55:27 +01:00
..
css [FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode 2013-03-06 16:13:06 +01:00
font Improved view switcher icons 2012-05-11 17:42:48 +02:00
img [FIX] minor css fix 2013-01-31 11:48:04 +01:00
js [FIX] cleanup m2o field events when reloading m2o fields 2013-03-06 15:55:27 +01:00
xml [FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode 2013-03-06 16:13:06 +01:00