diff --git a/js/app/views/MachineLearningUI.js b/js/app/views/MachineLearningUI.js index 8d459cd..e14b147 100644 --- a/js/app/views/MachineLearningUI.js +++ b/js/app/views/MachineLearningUI.js @@ -62,13 +62,13 @@ Ext.define('amdaUI.MachineLearningUI', { { xtype: 'datefield', id: 'prediction-stop', name: 'stop', fieldLabel: 'Stop Time', format: 'Y-m-d\\TH:i:s' - }/*, + }, { xtype: 'fieldset', id: 'prediction-args', title: 'Input arguments', hidden: true }, { xtype: 'fieldset', id: 'prediction-hyperparameters', title: 'Hyper parameters', hidden: true, enable: false - },*/ + } ], setModel: function(modelinfo) { var defaultValues = modelinfo.get('defaults'); @@ -82,8 +82,8 @@ Ext.define('amdaUI.MachineLearningUI', { var args = modelinfo.get('args'); if (!args) args = []; - me.predictionUI.queryById('prediction-args').setVisible(args.length > 0); - me.predictionUI.queryById('prediction-args').removeAll(); + //me.predictionUI.queryById('prediction-args').setVisible(args.length > 0); + //me.predictionUI.queryById('prediction-args').removeAll(); Ext.Array.each(args, function(arg) { if (arg == 'start' || arg == 'stop') { return; -- libgit2 0.21.2