Add build task in Grunt script.

Minor fixes
This commit is contained in:
RainLoop Team 2013-11-17 02:02:13 +04:00
parent ea4262e954
commit 67e6084276
18 changed files with 321 additions and 129 deletions

View file

@ -2991,6 +2991,20 @@ class Actions
return $this->DefaultResponse(__FUNCTION__, $bResult);
}
/**
* @return array
*/
public function DoJsInfo()
{
$bIsError = '1' === (string) $this->GetActionParam('IsError', '0');
$mData = $this->GetActionParam('Data', null);
$this->Logger()->WriteDump(is_array($mData) ? $mData : array(),
$bIsError ? \MailSo\Log\Enumerations\Type::ERROR : \MailSo\Log\Enumerations\Type::INFO, 'JS-INFO');
return $this->DefaultResponse(__FUNCTION__, true);
}
/**
* @return array
*/