-
Notifications
You must be signed in to change notification settings - Fork 116
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
Update option on image changed #4369
Conversation
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
00126fe
to
cc1dfc7
Compare
4a2cf82
to
d6b3b39
Compare
d6b3b39
to
1b882ec
Compare
const editingElements = this.env.getEditingElements(); | ||
const promises = []; | ||
for (const editingEl of editingElements) { | ||
const imageEls = editingEl.querySelectorAll("img"); |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Component
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
No description provided.