Skip to content

Update option on image changed #4369

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

Merged
merged 3 commits into from
Apr 17, 2025

Conversation

loco-odoo
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Apr 14, 2025

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

@loco-odoo loco-odoo force-pushed the master-mysterious-egg-loco-1 branch 7 times, most recently from 00126fe to cc1dfc7 Compare April 16, 2025 14:16
@loco-odoo loco-odoo force-pushed the master-mysterious-egg-loco-1 branch 2 times, most recently from 4a2cf82 to d6b3b39 Compare April 16, 2025 15:26
@loco-odoo loco-odoo force-pushed the master-mysterious-egg-loco-1 branch from d6b3b39 to 1b882ec Compare April 16, 2025 15:28
const editingElements = this.env.getEditingElements();
const promises = [];
for (const editingEl of editingElements) {
const imageEls = editingEl.querySelectorAll("img");

Choose a reason for hiding this comment

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

What happens if img is the editingElement

import { useDomState } from "../utils";
import { LoadImgComponent } from "./load_img_component";

export class UpdateOptionOnImgChanged extends BuilderComponent {

Choose a reason for hiding this comment

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

Component

@FrancoisGe FrancoisGe marked this pull request as ready for review April 17, 2025 12:21
@robodoo
Copy link

robodoo commented Apr 17, 2025

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

@FrancoisGe FrancoisGe merged commit 487f347 into master-mysterious-egg Apr 17, 2025
@FrancoisGe FrancoisGe deleted the master-mysterious-egg-loco-1 branch April 17, 2025 12:21
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