[SSE] Function wizard: hide argument description

This commit is contained in:
Julia Radzhabova 2020-05-21 20:43:18 +03:00
parent f8053e0770
commit 412d53bc0b

View file

@ -46,7 +46,7 @@ define([
SSE.Views.FormulaWizard = Common.Views.AdvancedSettingsWindow.extend(_.extend({ SSE.Views.FormulaWizard = Common.Views.AdvancedSettingsWindow.extend(_.extend({
options: { options: {
contentWidth: 580, contentWidth: 580,
height: 420 height: 397
}, },
initialize : function(options) { initialize : function(options) {
@ -74,7 +74,7 @@ define([
'<tr><td style="height:100%;padding-bottom: 12px;"></td></tr>', '<tr><td style="height:100%;padding-bottom: 12px;"></td></tr>',
'<tr><td>', '<tr><td>',
'<div id="formula-wizard-panel-desc" style="word-break: break-word;">', '<div id="formula-wizard-panel-desc" style="word-break: break-word;">',
'<label id="formula-wizard-arg-desc" style="display: block;margin-bottom: 8px;"><b>Argument 1:</b></label>', // '<label id="formula-wizard-arg-desc" style="display: block;margin-bottom: 8px;"><b>Argument 1:</b></label>',
'<label id="formula-wizard-args" style="display: block;margin-bottom: 0px;"></label>', '<label id="formula-wizard-args" style="display: block;margin-bottom: 0px;"></label>',
'<label id="formula-wizard-desc" style="display: block;margin-bottom: 8px;"></label>', '<label id="formula-wizard-desc" style="display: block;margin-bottom: 8px;"></label>',
'<label id="formula-wizard-value" style="display: block;margin-bottom: 8px;"><b>Formula result:</b></label>', '<label id="formula-wizard-value" style="display: block;margin-bottom: 8px;"><b>Formula result:</b></label>',
@ -222,7 +222,7 @@ define([
recalcArgTableSize: function() { recalcArgTableSize: function() {
var height = this.panelDesc.outerHeight(); var height = this.panelDesc.outerHeight();
height = this.$window.find('.box').height() - 7 - height - 60; height = this.$window.find('.box').height() - 7 - height - 54;
height = parseInt(height/30) * 30; height = parseInt(height/30) * 30;
this.tableArgs.parent().css('max-height', height); this.tableArgs.parent().css('max-height', height);
if (!this.scrollerY) if (!this.scrollerY)
@ -272,7 +272,7 @@ define([
lblValue: div.find('#formula-wizard-lbl-val-arg'+argcount), lblValue: div.find('#formula-wizard-lbl-val-arg'+argcount),
argInput: txt, argInput: txt,
argName: 'Argument ' + (argcount+1), argName: 'Argument ' + (argcount+1),
argDesc: 'some argument description', // argDesc: 'some argument description',
argType: argtype, argType: argtype,
argTypeName: me.getArgType(argtype) argTypeName: me.getArgType(argtype)
}); });