From 6b5180dec25f9543054717c0c0fd81a5465b3984 Mon Sep 17 00:00:00 2001 From: Elena.Budnik Date: Tue, 30 Oct 2018 18:00:12 +0100 Subject: [PATCH] menu enable --- js/app/views/CatalogUI.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/app/views/CatalogUI.js b/js/app/views/CatalogUI.js index c720bc0..622cf3e 100644 --- a/js/app/views/CatalogUI.js +++ b/js/app/views/CatalogUI.js @@ -120,9 +120,9 @@ Ext.define('amdaUI.CatalogUI', { }); columns[1] = Ext.create('Ext.grid.column.Column', { text: 'Start Time', sortable : true, dataIndex: 'start', - width : 120, menuDisabled: true, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\\TH:i:s'}}); + width : 120, menuDisabled: false, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\\TH:i:s'}}); columns[2] = Ext.create('Ext.grid.column.Column', { text: 'Stop Time', sortable : true, dataIndex: 'stop', - width : 120, menuDisabled: true, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\\TH:i:s'}}); + width : 120, menuDisabled: false, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\\TH:i:s'}}); Ext.Array.each(result.parameters, function(obj) { @@ -133,13 +133,13 @@ Ext.define('amdaUI.CatalogUI', { if (obj.type == 1) // dateTime { columns[i] = Ext.create('Ext.grid.column.Column', { text: obj.name, sortable : true, dataIndex: index, - width : 120, menuDisabled: true, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\\TH:i:s'}}); + width : 120, menuDisabled: false, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\\TH:i:s'}}); } else { width = 50. * parseInt(obj.size); columns[i] = Ext.create('Ext.grid.column.Column', { text: obj.name, sortable : false, dataIndex: index, - width : width, menuDisabled: true, editor: 'textfield' }); + width : width, menuDisabled: false, editor: 'textfield' }); } i++; }); -- libgit2 0.21.2