Episode Panel

This commit is contained in:
Luis Fernando Molina committed 2020-05-21 13:13:07 +02:00
1 parent 58597e4bdc
commit 7b22d052b5
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -2,5 +2,10 @@
let functionName = pDataMineOrHost + pPlotter + pModule + pPanel;
functionName = functionName.replace(/-/g, "");
functionName = 'new' + functionName
return window[functionName]();
try {
return window[functionName]();
} catch (err) {
console.log('[ERROR] getNewPlotterPanel -> Error trying to Load a Plotter Panel. err = ' + err.stack)
console.log('[ERROR] getNewPlotterPanel -> functionName = ' + functionName)
}
}