Cleanup some data-bind=""

This commit is contained in:
the-djmaze 2024-01-09 01:27:52 +01:00
parent f7f3b0d373
commit c651112cc0
2 changed files with 3 additions and 3 deletions

View file

@ -131,7 +131,7 @@
</div>
</div>
</div>
<div class="control-group" data-bind="email().length">
<div class="control-group">
<label class="fontastic iconsize24" data-i18n="[title]GLOBAL/EMAIL">@</label>
<div>
<label class="e-component e-checkbox material-design">

View file

@ -24,7 +24,7 @@
</div>
<div data-bind="foreach: conditions">
<div class="control-group" data-bind="css: {'error': valueError}" style="display:flex">
<div style="flex-grow:1" data-bind="css: {'error': valueError}, template: {'name': template(), 'data': $data}"></div>
<div style="flex-grow:1" data-bind="css: {'error': valueError}, template: {name: template(), data: $data}"></div>
<span class="delete-action button-delete fontastic" style="margin-top: 5px;"
data-bind="click: function (oCondition) { $root.removeCondition(oCondition); }">🗑</span>
</div>
@ -37,7 +37,7 @@
<div class="legend" data-i18n="POPUPS_FILTER/LEGEND_ACTIONS"></div>
<select class="span3" data-bind="options: $root.actionTypeOptions, value: actionType, optionsText: 'name', optionsValue: 'id'"></select>
<div data-bind="template: {'name': actionTemplate()}, i18nUpdate: actionTemplate"></div>
<div data-bind="template: {name: actionTemplate()}, i18nUpdate: actionTemplate"></div>
</form>
<footer>
<button class="btn buttonSave" form="sieve-script-filter" data-icon="✔" data-i18n="GLOBAL/DONE"></button>