summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-03-22 13:40:12 +0000
committerqsm-odoo <qsm@odoo.com>2019-03-22 13:40:12 +0000
commitc8339ce10e4ad68d6b87068edfbab72fd3f3bf0d (patch)
treea7e04932a7c2f827461a761c92cdb5bb2207d821 /addons
parentb46cdbbda47bb0d53babf62d72b1442cf876a19c (diff)
[FIX] web_editor: remove we validation icons
Since the bootstrap update to 4.2.1 (which was made with https://github.com/odoo/odoo/commit/63e52e6acfabb927aad6eaf7b020520dc206e50f) 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 odoo/odoo#32051 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/web_editor/static/src/scss/wysiwyg.scss16
-rw-r--r--addons/web_editor/static/src/xml/wysiwyg.xml4
2 files changed, 0 insertions, 20 deletions
diff --git a/addons/web_editor/static/src/scss/wysiwyg.scss b/addons/web_editor/static/src/scss/wysiwyg.scss
index 01f01e4cb93..952944fe4ce 100644
--- a/addons/web_editor/static/src/scss/wysiwyg.scss
+++ b/addons/web_editor/static/src/scss/wysiwyg.scss
@@ -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;
- }
}
}
diff --git a/addons/web_editor/static/src/xml/wysiwyg.xml b/addons/web_editor/static/src/xml/wysiwyg.xml
index 87d984b6fcd..cd20ee3f4ef 100644
--- a/addons/web_editor/static/src/xml/wysiwyg.xml
+++ b/addons/web_editor/static/src/xml/wysiwyg.xml
@@ -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>