Fix empty extra node help content issue

This commit is contained in:
Daisuke Baba
2017-01-19 16:55:57 +09:00
parent 0646b0060e
commit 5ba9a0eb3f
2 changed files with 24 additions and 1 deletions

View File

@@ -381,8 +381,10 @@ function getNodeHelp(node,lang) {
}
if (help) {
node.help[lang] = help;
} else if (lang === runtime.i18n.defaultLang) {
return null;
} else {
node.help[lang] = node.help[runtime.i18n.defaultLang];
node.help[lang] = getNodeHelp(node, runtime.i18n.defaultLang);
}
}
return node.help[lang];