Skip to content
Permalink
Browse files

[FIX] web_editor: remove we validation icons

Since the bootstrap update to 4.2.1 (which was made with
63e52e6)
bootstrap includes automatic validation icons when a form is validated.

This allows to remove the Odoo custom ones in the editor (which appeared
on top of the bootstrap ones).

closes #32051

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information...
qsm-odoo committed Mar 22, 2019
1 parent b46cdbb commit c8339ce10e4ad68d6b87068edfbab72fd3f3bf0d
Showing with 0 additions and 20 deletions.
  1. +0 −16 addons/web_editor/static/src/scss/wysiwyg.scss
  2. +0 −4 addons/web_editor/static/src/xml/wysiwyg.xml
@@ -373,22 +373,6 @@ body .modal {
padding-bottom: 25px;
overflow-y: scroll;
}

.o_validate_feedback {
@include o-position-absolute(auto, 10px, 10px);

>.fa {
display: none;
}
}

&.o_has_error .o_validate_feedback>.fa-exclamation-triangle {
display: block;
}

&.o_has_success .o_validate_feedback>.fa-check {
display: block;
}
}
}

@@ -244,10 +244,6 @@
<div class="form-group mb-2" id="o_video_form_group">
<label class="col-form-label" for="o_video_text">
Video code <small>(URL or Embed)</small>
<div class="o_validate_feedback">
<i class="fa fa-check text-success" role="img" aria-label="Checked" title="Checked"/>
<i class="fa fa-exclamation-triangle text-danger" role="img" aria-label="Attention" title="Attention"/>
</div>
</label>
<textarea class="form-control" id="o_video_text" placeholder="Copy-paste your URL or embed code here"/>
</div>

0 comments on commit c8339ce

Please sign in to comment.
You can’t perform that action at this time.