[SSE] Rule settings: hide source range

This commit is contained in:
Julia Radzhabova 2020-04-28 15:49:34 +03:00
parent ab2ff6f06f
commit 3cec81d7dd

View file

@ -71,10 +71,10 @@ define([
'<label class="header">', me.textRule,'</label>', '<label class="header">', me.textRule,'</label>',
'<div id="format-rules-edit-combo-category" class="input-group-nr"></div>', '<div id="format-rules-edit-combo-category" class="input-group-nr"></div>',
'</div>', '</div>',
'<div style="width:150px; display: inline-block; margin-right: 10px;">', // '<div style="width:150px; display: inline-block; margin-right: 10px;">',
'<label class="header">', me.textApply,'</label>', // '<label class="header">', me.textApply,'</label>',
'<div id="format-rules-edit-txt-scope" style="height: 22px;"></div>', // '<div id="format-rules-edit-txt-scope" style="height: 22px;"></div>',
'</div>', // '</div>',
'</td>', '</td>',
'</tr>', '</tr>',
'<tr class="hasformat">', '<tr class="hasformat">',
@ -339,15 +339,15 @@ define([
}); });
this.ruleStore = new Backbone.Collection(arrrules); this.ruleStore = new Backbone.Collection(arrrules);
this.txtScope = new Common.UI.InputFieldBtn({ // this.txtScope = new Common.UI.InputFieldBtn({
el : $('#format-rules-edit-txt-scope'), // el : $('#format-rules-edit-txt-scope'),
name : 'range', // name : 'range',
style : 'width: 150px;', // style : 'width: 150px;',
allowBlank : true, // allowBlank : true,
btnHint : this.textSelectData, // btnHint : this.textSelectData,
validateOnChange: false // validateOnChange: false
}); // });
this.txtScope.on('button:click', _.bind(this.onSelectData, this)); // this.txtScope.on('button:click', _.bind(this.onSelectData, this));
this.cmbCategory = new Common.UI.ComboBox({ this.cmbCategory = new Common.UI.ComboBox({
el : $('#format-rules-edit-combo-category'), el : $('#format-rules-edit-combo-category'),
@ -933,8 +933,8 @@ define([
} }
if (props) { if (props) {
var val = props.asc_getLocation(); // var val = props.asc_getLocation();
this.txtScope.setValue((val) ? val : ''); // this.txtScope.setValue((val) ? val : '');
} else { } else {
} }
}, },