aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/Attributes.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-19 11:34:01 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-19 16:09:43 +0500
commitb2b9e4cb213023697566885340d2ff7b5a44db8b (patch)
treeacd73e2c5ccd3eda062b0228873d2239e2d988fd /web/app/view/edit/Attributes.js
parentf3ce72afbd49ccde94178158147de7b378128a55 (diff)
downloadetbsa-traccar-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.tar.gz
etbsa-traccar-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.tar.bz2
etbsa-traccar-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.zip
- Added columns filters to most windows
- Added more columns to UserDevices and UserGroups - Change openlayers version to 4.2.0
Diffstat (limited to 'web/app/view/edit/Attributes.js')
-rw-r--r--web/app/view/edit/Attributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/edit/Attributes.js b/web/app/view/edit/Attributes.js
index 66d8bb1..84cadea 100644
--- a/web/app/view/edit/Attributes.js
+++ b/web/app/view/edit/Attributes.js
@@ -20,10 +20,13 @@ Ext.define('Traccar.view.edit.Attributes', {
xtype: 'attributesView',
requires: [
+ 'Ext.grid.filters.Filters',
'Traccar.view.edit.AttributesController',
'Traccar.view.edit.Toolbar'
],
+ plugins: 'gridfilters',
+
controller: 'attributes',
tbar: {
@@ -42,6 +45,7 @@ Ext.define('Traccar.view.edit.Attributes', {
items: [{
text: Strings.sharedName,
dataIndex: 'name',
+ filter: 'string',
renderer: function (value, metaData) {
var attribute;
if (this.attributesStore) {