disable csrf fix, fix account state javascript

disable csrf in frontend and backend
	reception account_state javascript fix
This commit is contained in:
2015-11-29 20:19:34 +01:00
parent 4935aaa4a2
commit 9962a35059
5 changed files with 13 additions and 6 deletions

View File

@@ -13,6 +13,9 @@ return [
'bootstrap' => ['log'],
'controllerNamespace' => 'frontend\controllers',
'components' => [
'request' => [
'enableCsrfValidation'=>false,
],
'user' => [
'identityClass' => 'common\models\User',
'enableAutoLogin' => true,

View File

@@ -122,7 +122,7 @@ function AccountState(o){
var money;
money = accounting.formatNumber(app.money, 0, " "); // 9 876 543.210
$('.money').html(money);
$('#accountstate-money').val(money);
$('#accountstate-money').val(app.money +"");
}
function updateLastMoney(){