mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 10:58:50 +03:00
Disable removal of rainloop.user script
This commit is contained in:
parent
ee37ad67bb
commit
76bc8aa107
3 changed files with 9 additions and 7 deletions
|
|
@ -3,8 +3,8 @@
|
|||
<div class="modal-header">
|
||||
<button type="button" class="close" data-bind="command: $root.cancelCommand">×</button>
|
||||
<h3>
|
||||
<span class="i18n" data-i18n="POPUPS_SIEVE_SCRIPT/TITLE_CREATE" data-bind="visible: $root.isNew"></span>
|
||||
<span class="i18n" data-i18n="POPUPS_SIEVE_SCRIPT/TITLE_EDIT" data-bind="visible: !$root.isNew()"></span>
|
||||
<span class="i18n" data-i18n="POPUPS_SIEVE_SCRIPT/TITLE_CREATE" data-bind="visible: !exists()"></span>
|
||||
<span class="i18n" data-i18n="POPUPS_SIEVE_SCRIPT/TITLE_EDIT" data-bind="visible: exists"></span>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
|
@ -12,11 +12,11 @@
|
|||
<div class="control-group" data-bind="css: {'error': nameError}">
|
||||
<div class="controls">
|
||||
<input type="text" class="i18n span5"
|
||||
data-bind="value: name, hasFocus: $root.isNew, visible: $root.isNew"
|
||||
data-bind="value: name, hasFocus: !exists(), visible: !exists()"
|
||||
autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||
data-i18n="[placeholder]POPUPS_SIEVE_SCRIPT/SCRIPT_NAME"
|
||||
/>
|
||||
<span data-bind="text: name, visible: !$root.isNew()"></span>
|
||||
<span data-bind="text: name, visible: exists"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue