Preferences: Get preferences mostly displaying again

There's still something wrong validation.
This commit is contained in:
nathan
2022-07-13 10:52:11 -06:00
parent 2c08542529
commit f8f7d1621e
4 changed files with 46 additions and 32 deletions

View File

@ -36,10 +36,15 @@ export function et2_compileLegacyJS(_code, _widget, _context)
{
// Get the content array manager for the widget
var mgr = _widget.getArrayMgr("content");
if (mgr)
if(mgr)
{
_code = mgr.expandName(_code);
}
// If replacement cleared the code, skip the rest
if(!_code)
{
return false;
}
}
// Context is the context in which the function will run. Set context to