[FIX] web: don't overwrite the mode if existing in attributes

This commit is contained in:
Christophe Matthieu
2017-04-11 19:44:38 +02:00
committed by Aaron Bohy
parent 41ea55c272
commit 60f35364d7
@@ -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';