Commit 6b5180dec25f9543054717c0c0fd81a5465b3984
1 parent
33fb4c30
Exists in
master
and in
108 other branches
menu enable
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
js/app/views/CatalogUI.js
... | ... | @@ -120,9 +120,9 @@ Ext.define('amdaUI.CatalogUI', { |
120 | 120 | }); |
121 | 121 | |
122 | 122 | columns[1] = Ext.create('Ext.grid.column.Column', { text: 'Start Time', sortable : true, dataIndex: 'start', |
123 | - width : 120, menuDisabled: true, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\TH:i:s'}}); | |
123 | + width : 120, menuDisabled: false, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\TH:i:s'}}); | |
124 | 124 | columns[2] = Ext.create('Ext.grid.column.Column', { text: 'Stop Time', sortable : true, dataIndex: 'stop', |
125 | - width : 120, menuDisabled: true, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\TH:i:s'}}); | |
125 | + width : 120, menuDisabled: false, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\TH:i:s'}}); | |
126 | 126 | |
127 | 127 | Ext.Array.each(result.parameters, function(obj) |
128 | 128 | { |
... | ... | @@ -133,13 +133,13 @@ Ext.define('amdaUI.CatalogUI', { |
133 | 133 | if (obj.type == 1) // dateTime |
134 | 134 | { |
135 | 135 | columns[i] = Ext.create('Ext.grid.column.Column', { text: obj.name, sortable : true, dataIndex: index, |
136 | - width : 120, menuDisabled: true, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\TH:i:s'}}); | |
136 | + width : 120, menuDisabled: false, editor : { xtype:'datefield', allowBlank:false, hideTrigger: true, format : 'Y-m-d\TH:i:s'}}); | |
137 | 137 | } |
138 | 138 | else |
139 | 139 | { |
140 | 140 | width = 50. * parseInt(obj.size); |
141 | 141 | columns[i] = Ext.create('Ext.grid.column.Column', { text: obj.name, sortable : false, dataIndex: index, |
142 | - width : width, menuDisabled: true, editor: 'textfield' }); | |
142 | + width : width, menuDisabled: false, editor: 'textfield' }); | |
143 | 143 | } |
144 | 144 | i++; |
145 | 145 | }); | ... | ... |