From e5cda1b3e0a4735abd512652b5df30331ad6782e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 23 Mar 2017 14:37:23 +0500 Subject: - Remove search string - Rename functions and variables - Fix device deselect - Fix appearing features and double visibility check --- web/app/model/Device.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'web/app/model') diff --git a/web/app/model/Device.js b/web/app/model/Device.js index f733a30..9de5828 100644 --- a/web/app/model/Device.js +++ b/web/app/model/Device.js @@ -30,19 +30,24 @@ Ext.define('Traccar.model.Device', { type: 'string' }, { name: 'phone', - type: 'string' + type: 'string', + allowNull: true }, { name: 'model', - type: 'string' + type: 'string', + allowNull: true }, { name: 'contact', - type: 'string' + type: 'string', + allowNull: true }, { name: 'category', - type: 'string' + type: 'string', + allowNull: true }, { name: 'status', - type: 'string' + type: 'string', + allowNull: true }, { name: 'lastUpdate', type: 'date', -- cgit v1.2.3