aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-26 01:09:49 +1200
committerGitHub <noreply@github.com>2016-07-26 01:09:49 +1200
commit4064f864e20d3d40025a94e10cf56084d2c78287 (patch)
tree0a9e69d6139e19a830a979a45b76f82ccbe27bb4 /web/app/model
parent7e20896334f4f6927cf14c5272cf7d893efc3a05 (diff)
parentfb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9 (diff)
downloadtrackermap-server-4064f864e20d3d40025a94e10cf56084d2c78287.tar.gz
trackermap-server-4064f864e20d3d40025a94e10cf56084d2c78287.tar.bz2
trackermap-server-4064f864e20d3d40025a94e10cf56084d2c78287.zip
Merge pull request #2155 from Abyss777/attributes
Added group and server attributes
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Group.js2
-rw-r--r--web/app/model/Server.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/web/app/model/Group.js b/web/app/model/Group.js
index a28897feb..bb18b5b3f 100644
--- a/web/app/model/Group.js
+++ b/web/app/model/Group.js
@@ -27,5 +27,7 @@ Ext.define('Traccar.model.Group', {
}, {
name: 'groupId',
type: 'int'
+ }, {
+ name: 'attributes'
}]
});
diff --git a/web/app/model/Server.js b/web/app/model/Server.js
index 3f6e466d9..02968c2d6 100644
--- a/web/app/model/Server.js
+++ b/web/app/model/Server.js
@@ -54,6 +54,8 @@ Ext.define('Traccar.model.Server', {
}, {
name: 'twelveHourFormat',
type: 'boolean'
+ }, {
+ name: 'attributes'
}],
proxy: {