HOR-978 "When running timereventcron.php..." SOLVED

This commit is contained in:
root
2016-06-01 16:21:18 -04:00
parent 005ee3ef2b
commit f43c895a52
2 changed files with 3 additions and 3 deletions

View File

@@ -36,14 +36,14 @@ class Common extends \Maveriks\Util\Common
return;
}
$numc = 100;
$numc = 50;
switch ($option) {
case "BAR":
echo "\r" . "| " . $data . str_repeat(" ", $numc - 2 - strlen($data));
break;
case "TEXT":
echo "\r" . "| " . $data . str_repeat(" ", $numc - 2 - strlen($data)) . "\n";
echo "\r" . '| ' . $data . "\n";
break;
default:
//START, END

View File

@@ -260,7 +260,7 @@ cron.application = {
});
var renderStatus = function(val) {
if (val == 'action') {
if (/^(action|timereventcron)$/i.test(val)) {
return _('ID_COMPLETED');
} else {
return _('ID_FAILED');