mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:27:48 +08:00
[DE] Add required option for all forms
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user