summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.validate
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-12-01 16:28:09 +0100
committerGéry Debongnie <ged@odoo.com>2014-12-02 10:19:09 +0100
commitbfcfc62fbfa5c75a64fbd96ac55041ce030f0db7 (patch)
tree53d207f45363693a64f0d9764530e912908fdff9 /addons/web/static/lib/jquery.validate
parent286d7f80bf6fe930c4eac33d6498642cc4a7a2cd (diff)
[FIX] fix reloading problem (crash) in web client
The previous viewmanager (before its refactoring in sept/oct 2014) was ignoring some promises in its do_load_state method. The refactoring actually fixed that, but of course, some other code was dependent on the broken implementation. This commit removes the use of promises in do_load_state, which is functionally equivalent to the previous code. As a result, it relies on some subtle timing of the creation and initialization of various views. It is somewhat fragile, but it is actually what the former code did, only in a more explicit way.
Diffstat (limited to 'addons/web/static/lib/jquery.validate')
0 files changed, 0 insertions, 0 deletions