From 94fc6862c6635c680afc600a19f61fb9aaefe0ef Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 4 Apr 2017 19:39:34 +0500 Subject: Use simple color picker instead of ux --- web/app/view/dialog/AttributeController.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'web/app/view/dialog/AttributeController.js') diff --git a/web/app/view/dialog/AttributeController.js b/web/app/view/dialog/AttributeController.js index daa33be..7ddab11 100644 --- a/web/app/view/dialog/AttributeController.js +++ b/web/app/view/dialog/AttributeController.js @@ -72,14 +72,7 @@ Ext.define('Traccar.view.dialog.AttributeController', { config.inputValue = true; config.uncheckedValue = false; } else if (type === 'color') { - config.xtype = 'colorfield'; - config.format = '#hex6'; - config.beforeBodyEl = [ - '
' + - '
' + - '
' - ]; + config.xtype = 'customcolorpicker'; } else { config.xtype = 'textfield'; } -- cgit v1.2.3