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