Bug Fix: Failing to Load Plugins + Tutorials Not Playing
This commit is contained in:
1 parent
ad21aa8eb1
commit
70bcb9580f
2 files changed
+9
-2
No files matched your search
@@ -142,8 +142,12 @@ function newFoundationsFunctionLibraryUiObjectsFromNodes() {
|
||||
let project = "Foundations"
|
||||
try {
|
||||
let config = JSON.parse(pluginFile.config)
|
||||
project = config.project
|
||||
name = config.fileName
|
||||
if (config.project !== undefined) {
|
||||
project = config.project
|
||||
}
|
||||
if (config.fileName !== undefined) {
|
||||
name = config.fileName
|
||||
}
|
||||
} catch (err) { }
|
||||
|
||||
httpRequest(undefined, 'LoadPlugin' + '/' + project + '/' + pluginType + '/' + name + '.json', onFileReceived)
|
||||
|
||||
Reference in new issue
Block a user