* [bug#66444,done,0.2h] fix bug.
This commit is contained in:
@@ -140,7 +140,11 @@ class cron extends control
|
||||
session_write_close();
|
||||
|
||||
$execId = mt_rand();
|
||||
if($restart) $this->cron->restartCron($execId);
|
||||
if($restart)
|
||||
{
|
||||
$this->cron->restartCron($execId);
|
||||
return $this->sendSuccess(array('load' => true));
|
||||
}
|
||||
|
||||
while(true)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ panel
|
||||
!empty($config->global->cron) ? set::bodyClass('p-0') : null,
|
||||
!empty($config->global->cron) ? set::headingActions(array
|
||||
(
|
||||
array('class' => 'mr-3 ajaxRefresh', 'data-href' => inlink('ajaxExec', 'restart=1'), 'text' => $lang->cron->openProcess, 'onclick' => 'refreshURL(this)'),
|
||||
array('class' => 'mr-3 ajax-submit', 'url' => inlink('ajaxExec', 'restart=1'), 'text' => $lang->cron->openProcess),
|
||||
array('class' => 'mr-3 ajaxTurnon ajax-submit', 'url' => inlink('turnon'), 'text' => $lang->cron->turnonList[0], 'data-confirm' => $this->lang->cron->confirmTurnon),
|
||||
array('class' => 'mr-3 primary', 'data-toggle' => 'modal', 'url' => inlink('create'), 'text' => $lang->cron->create)
|
||||
)) : null,
|
||||
|
||||
Reference in New Issue
Block a user