Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add initial dropzone + use closest dropzone + cancel drop in sidebar #4022

Open
wants to merge 1 commit into
base: master-mysterious-egg
Choose a base branch
from

Conversation

robinlej
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Jan 30, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged.

@robinlej robinlej force-pushed the master-mysterious-egg-role-2 branch 3 times, most recently from 8616399 to 7e8146e Compare January 31, 2025 14:07
@robinlej robinlej force-pushed the master-mysterious-egg-role-2 branch from 7e8146e to 33a345c Compare January 31, 2025 14:11
@@ -257,10 +258,12 @@ export class BuilderSidebar extends Component {

undo() {
this.editor.shared.history.undo();
this.editor.shared.dropzone.updateEmptyDropZone();
Copy link

@loco-odoo loco-odoo Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can probably be be done by using the normalize_handlers resource directly inside the dropzone plugin. As its also called at the start of the plugin, there is probably no need to call it in the onMounted 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants