diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-04-01 13:50:05 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-04-01 13:50:05 +0200 |
| commit | f880ecb5d98f31d3ad3051df96f55b76bc0820a2 (patch) | |
| tree | e2035d32f55388600c19d8917f04bd19ce4b0782 /addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart.js | |
| parent | 0a5a8cd81a5c53966328af3f9c314c994c394590 (diff) | |
[FIX] race condition on auto_search due to desynchronized loading of search view and {any default main view}
If loading of search view completes before loading of content view, do_search is immediately called on search view and forwarded to content view which is *not* ready yet and therefore blows up.
Solved by having start() methods return a promise object (or a non-promise object taken as a fulfilled promise) which the viewmanager can use (from both search view and initial content view) to synchronize when both are ready and it's possible to start a search
bzr revid: xmo@openerp.com-20110401115005-inceqsj7qn4k3b8e
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart.js')
0 files changed, 0 insertions, 0 deletions
