diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-09 13:26:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-09 13:26:33 +1200 |
commit | fe7b8bd58e23e289a041bc7c9a5d6c37f085419a (patch) | |
tree | d28b58d1ea3b4fcd6c715c4f2d2e2e04cb91c208 /web/app/view/Notifications.js | |
parent | 70d22de4205aec294660378f0d854cbc32c7a6b8 (diff) | |
download | trackermap-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.js | 9 |
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); } - }], - + }] }); |