diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-03-23 12:28:47 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 60f35364d7f18e577109c4cf0a0ef239d9d8ea7c (patch) | |
| tree | a6fe3ca67c38e0f33db9004bef899f37a9d42250 /addons/web/static/src | |
| parent | 41ea55c2724371c7ad0715db1aff069586ebdfaa (diff) | |
[FIX] web: don't overwrite the mode if existing in attributes
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/services/data_manager.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/web/static/src/js/services/data_manager.js b/addons/web/static/src/js/services/data_manager.js index 3fdb0986624..5d5b71ece17 100644 --- a/addons/web/static/src/js/services/data_manager.js +++ b/addons/web/static/src/js/services/data_manager.js @@ -286,8 +286,6 @@ return core.Class.extend({ } else { mode = 'tree,kanban'; } - } else { - mode = 'tree,kanban'; } if (mode.indexOf(',') !== -1) { mode = config.device.size_class !== config.device.SIZES.XS ? 'tree' : 'kanban'; |
