LSform : Fix display bug when user has no right on the first tab

This commit is contained in:
Benjamin Renard 2019-02-26 18:02:51 +01:00
parent 274ccad0f2
commit cf4502ac3b

View file

@ -81,7 +81,8 @@ var LSform = new Class({
} }
else { else {
if (!$type(Layout.getElement('dt'))) { if (!$type(Layout.getElement('dt'))) {
li.setStyle('display','none'); li.destroy();
Layout.destroy();
} }
} }
} }