Merge pull request #1122 from CANDY-LINE/feature/i18n-issue

Fix empty extra node help content issue
This commit is contained in:
Nick O'Leary
2017-03-01 16:38:08 +00:00
committed by GitHub
2 changed files with 42 additions and 1 deletions

View File

@@ -393,8 +393,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];