diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-10-18 10:04:19 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 10:04:19 +1300 |
commit | b60127b12fa878db7aecf35109e42f57eed34fe3 (patch) | |
tree | e405165239075265962fee36ec3d2289f3d98b1a /web/app/view/edit/Devices.js | |
parent | 531f9d5c556e9795b32099587bfa84f3b74017c4 (diff) | |
parent | 41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770 (diff) | |
download | trackermap-web-b60127b12fa878db7aecf35109e42f57eed34fe3.tar.gz trackermap-web-b60127b12fa878db7aecf35109e42f57eed34fe3.tar.bz2 trackermap-web-b60127b12fa878db7aecf35109e42f57eed34fe3.zip |
Merge pull request #603 from Abyss777/cell_text_selectable
Make cell text "selectable" in all grids
Diffstat (limited to 'web/app/view/edit/Devices.js')
-rw-r--r-- | web/app/view/edit/Devices.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web/app/view/edit/Devices.js b/web/app/view/edit/Devices.js index d2ba0f3d..39550b6c 100644 --- a/web/app/view/edit/Devices.js +++ b/web/app/view/edit/Devices.js @@ -16,11 +16,10 @@ */ Ext.define('Traccar.view.edit.Devices', { - extend: 'Ext.grid.Panel', + extend: 'Traccar.view.GridPanel', xtype: 'devicesView', requires: [ - 'Ext.grid.filters.Filters', 'Traccar.AttributeFormatter', 'Traccar.view.edit.DevicesController', 'Traccar.view.ArrayListFilter', @@ -29,8 +28,6 @@ Ext.define('Traccar.view.edit.Devices', { controller: 'devices', - plugins: 'gridfilters', - store: 'VisibleDevices', stateful: true, @@ -82,6 +79,7 @@ Ext.define('Traccar.view.edit.Devices', { }, viewConfig: { + enableTextSelection: true, getRowClass: function (record) { var status = record.get('status'); if (status) { |