summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/tests
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-05-23 14:47:42 +0000
committerSébastien Theys <seb@odoo.com>2019-05-27 16:32:52 +0000
commit277c30e7e63eed08cbae3661b40cc4bd2cceba56 (patch)
tree4d8f6ab6f0040c94bc0b3e119ea234efdef6caa4 /addons/web_editor/static/tests
parent8ab696dc824bdcb832d81f2540dd7030dd291d0a (diff)
[IMP] web_editor, website: clean up media dialog
Restructure the code in a more logical manner. No functional change. PR: #33509
Diffstat (limited to 'addons/web_editor/static/tests')
-rw-r--r--addons/web_editor/static/tests/wysiwyg_snippets_tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/tests/wysiwyg_snippets_tests.js b/addons/web_editor/static/tests/wysiwyg_snippets_tests.js
index 1f61ff307d4..bd63364d303 100644
--- a/addons/web_editor/static/tests/wysiwyg_snippets_tests.js
+++ b/addons/web_editor/static/tests/wysiwyg_snippets_tests.js
@@ -352,8 +352,8 @@ QUnit.test('background-image', function (assert) {
$('#oe_manipulators .oe_overlay_options a.snippet-option-background[data-choose-image]').click();
defMediaDialogInit.then(function () {
- $('.modal.note-image-dialog .existing-attachments .o_image').click();
- $('.modal.note-image-dialog .modal-footer .btn-primary').click();
+ $('.o_select_media_dialog .existing-attachments .o_image').click();
+ $('.o_select_media_dialog .modal-footer .btn-primary').click();
});
defMediaDialogSave.then(function () {