aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-16 22:27:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-16 22:27:23 +1200
commite7187ea46a8ca8a0e8d93a030a9d360249b998fa (patch)
tree23f3473ce938b31f062b3a0ca469542254daf74d /web/app/view
parent37f402a3afae13ade44e135ab4ca3e4cf4966425 (diff)
downloadtrackermap-server-e7187ea46a8ca8a0e8d93a030a9d360249b998fa.tar.gz
trackermap-server-e7187ea46a8ca8a0e8d93a030a9d360249b998fa.tar.bz2
trackermap-server-e7187ea46a8ca8a0e8d93a030a9d360249b998fa.zip
Fix attribute formatter functions
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/login/Login.js2
-rw-r--r--web/app/view/report/Report.js6
2 files changed, 5 insertions, 3 deletions
diff --git a/web/app/view/login/Login.js b/web/app/view/login/Login.js
index adb04cf0c..fc1e749d1 100644
--- a/web/app/view/login/Login.js
+++ b/web/app/view/login/Login.js
@@ -35,7 +35,7 @@ Ext.define('Traccar.view.login.Login', {
autoEl: {
tag: 'form',
method: 'POST',
- action: 'blank.html',
+ action: 'blank',
target: 'submitTarget'
},
diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js
index 25f3b244a..720de698f 100644
--- a/web/app/view/report/Report.js
+++ b/web/app/view/report/Report.js
@@ -81,7 +81,8 @@ Ext.define('Traccar.view.report.Report', {
columns: [{
text: strings.positionValid,
dataIndex: 'valid',
- flex: 1
+ flex: 1,
+ renderer: Traccar.AttributeFormatter.getFormatter('valid')
}, {
text: strings.positionTime,
dataIndex: 'fixTime',
@@ -111,6 +112,7 @@ Ext.define('Traccar.view.report.Report', {
}, {
text: strings.positionAddress,
dataIndex: 'address',
- flex: 1
+ flex: 1,
+ renderer: Traccar.AttributeFormatter.getFormatter('address')
}]
});