Admin - fix user accounts not displayed after submitting or canceling statistic

nm needs to start enabled or its initialization is skipped
This commit is contained in:
nathangray 2019-09-16 09:33:54 -06:00
parent 03f2588d67
commit a1251b528f

View File

@ -96,7 +96,6 @@ class admin_ui
// switching between iframe and nm/accounts-list depending on load parameter // switching between iframe and nm/accounts-list depending on load parameter
// important for first time load eg. from an other application calling it's site configuration // important for first time load eg. from an other application calling it's site configuration
$tpl->setElementAttribute('nm', 'disabled', !empty($_GET['load']));
$tpl->setElementAttribute('iframe', 'disabled', empty($_GET['load'])); $tpl->setElementAttribute('iframe', 'disabled', empty($_GET['load']));
$content['iframe'] = 'about:blank'; // we show accounts-list be default now $content['iframe'] = 'about:blank'; // we show accounts-list be default now
if (!empty($_GET['load'])) if (!empty($_GET['load']))