mirror of
https://gitlab.com/jusax23/fmi.git
synced 2024-11-24 07:36:33 +01:00
bug fix
This commit is contained in:
parent
21c0842433
commit
e6116bd3ec
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ function F() {
|
||||||
if (!t.data[sgroups[i]]) t.data[sgroups[i]] = {};
|
if (!t.data[sgroups[i]]) t.data[sgroups[i]] = {};
|
||||||
var snames = Object.keys(sgroup);
|
var snames = Object.keys(sgroup);
|
||||||
for (var j = 0; j < snames.length; j++) {
|
for (var j = 0; j < snames.length; j++) {
|
||||||
if (!t.data[sgroups[i]][snames[j]]) {
|
if (typeof t.data[sgroups[i]][snames[j]] == "undefined") {
|
||||||
t.data[sgroups[i]][snames[j]] = sgroup[snames[j]].default || "";
|
t.data[sgroups[i]][snames[j]] = sgroup[snames[j]].default || "";
|
||||||
}
|
}
|
||||||
switch (sgroup[snames[j]].type || "none") {
|
switch (sgroup[snames[j]].type || "none") {
|
||||||
|
|
Loading…
Reference in a new issue