diff --git a/generic_data/Functions/functions_args_list.xml b/generic_data/Functions/functions_args_list.xml index 6dcc2ca..333a9f1 100644 --- a/generic_data/Functions/functions_args_list.xml +++ b/generic_data/Functions/functions_args_list.xml @@ -2,8 +2,9 @@ - - + + + diff --git a/js/app/views/CalculatorUI.js b/js/app/views/CalculatorUI.js index 8239f85..96f4220 100644 --- a/js/app/views/CalculatorUI.js +++ b/js/app/views/CalculatorUI.js @@ -94,11 +94,11 @@ Ext.define('amdaUI.PromptArgsWin', { var listData = []; valuesStore.each(function (item) { - listData.push({'key': item.get('key'), 'value': item.get('value')}); + listData.push({'key': item.get('key'), 'value': item.get('value'), 'info': item.get('info')}); }); var comboStore = Ext.create('Ext.data.Store', { - fields: ['key', 'value'], + fields: ['key', 'value', 'info'], data : listData }); @@ -110,7 +110,12 @@ Ext.define('amdaUI.PromptArgsWin', { queryMode: 'local', displayField: 'value', valueField: 'key', - editable: false + editable: false, + listConfig: { + getInnerTpl: function() { + return '
{value}
'; + } + } }); if (defaultVal != "") { -- libgit2 0.21.2