aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Notifications.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-09 13:26:33 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-09 13:26:33 +1200
commitfe7b8bd58e23e289a041bc7c9a5d6c37f085419a (patch)
treed28b58d1ea3b4fcd6c715c4f2d2e2e04cb91c208 /web/app/view/Notifications.js
parent70d22de4205aec294660378f0d854cbc32c7a6b8 (diff)
downloadtrackermap-server-fe7b8bd58e23e289a041bc7c9a5d6c37f085419a.tar.gz
trackermap-server-fe7b8bd58e23e289a041bc7c9a5d6c37f085419a.tar.bz2
trackermap-server-fe7b8bd58e23e289a041bc7c9a5d6c37f085419a.zip
Fix issues in JavaScript code
Diffstat (limited to 'web/app/view/Notifications.js')
-rw-r--r--web/app/view/Notifications.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js
index 211e5cd15..92a850671 100644
--- a/web/app/view/Notifications.js
+++ b/web/app/view/Notifications.js
@@ -26,7 +26,7 @@ Ext.define('Traccar.view.Notifications', {
store: 'AllNotifications',
selModel: {
- selType: 'cellmodel',
+ selType: 'cellmodel'
},
columns: [{
@@ -47,7 +47,7 @@ Ext.define('Traccar.view.Notifications', {
checkChange: 'onCheckChange'
},
renderer: function (value, metaData, record) {
- var fields = this.dataIndex.split('\.',2);
+ var fields = this.dataIndex.split('\.', 2);
return (new Ext.ux.CheckColumn()).renderer(record.get(fields[0])[fields[1]], metaData);
}
}, {
@@ -60,9 +60,8 @@ Ext.define('Traccar.view.Notifications', {
checkChange: 'onCheckChange'
},
renderer: function (value, metaData, record) {
- var fields = this.dataIndex.split('\.',2);
+ var fields = this.dataIndex.split('\.', 2);
return (new Ext.ux.CheckColumn()).renderer(record.get(fields[0])[fields[1]], metaData);
}
- }],
-
+ }]
});