[DE] Add required option for all forms
This commit is contained in:
parent
281bf0a55a
commit
790685b93c
|
@ -94,8 +94,13 @@
|
|||
</tr>
|
||||
</table>
|
||||
<table cols="1">
|
||||
<tr class="required">
|
||||
<td class="padding-large">
|
||||
<tr>
|
||||
<td class="padding-small">
|
||||
<div class="separator horizontal"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-small">
|
||||
<div id="form-chb-required"></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -98,7 +98,6 @@ define([
|
|||
this.ListOnlySettings = el.find('.form-list');
|
||||
this.ImageOnlySettings = el.find('.form-image');
|
||||
this.ConnectedSettings = el.find('.form-connected');
|
||||
this.RequiredSettings = el.find('.required');
|
||||
},
|
||||
|
||||
createDelayedElements: function() {
|
||||
|
@ -918,7 +917,6 @@ define([
|
|||
var value = (checkboxOnly || radioboxOnly);
|
||||
this.PlaceholderSettings.toggleClass('hidden', value);
|
||||
this.CheckOnlySettings.toggleClass('hidden', !value);
|
||||
this.RequiredSettings.toggleClass('hidden', imageOnly || listOnly && (type == Asc.c_oAscContentControlSpecificType.DropDownList));
|
||||
},
|
||||
|
||||
onSelectItem: function(listView, itemView, record) {
|
||||
|
|
Loading…
Reference in a new issue