Skip to content

[9.0][FIX]web_m2x_options: prevent popup to open web badger is deleted#554

Closed
zakiuu wants to merge 1 commit into
OCA:9.0from
acsone:9.0-fix_open_many2many_open_badge_function_zak
Closed

[9.0][FIX]web_m2x_options: prevent popup to open web badger is deleted#554
zakiuu wants to merge 1 commit into
OCA:9.0from
acsone:9.0-fix_open_many2many_open_badge_function_zak

Conversation

@zakiuu

@zakiuu zakiuu commented Feb 8, 2017

Copy link
Copy Markdown

The current behavior is when you try deleting an element from a many2many_tag that has options={'open': true} the popup still show up even the element is deleted.
The $(ev.currentTarget).data('id') always returns a valid ID, hence the action is executed.
With this fix I've used the ($(ev.target).data('id') instead and checked wether I've a value in id or not.
So the expected bahavior now: when deleting the tag the popup should no show up any more.

@zakiuu

zakiuu commented Feb 8, 2017

Copy link
Copy Markdown
Author

@sbidoul @lmignon

@zakiuu zakiuu changed the title [FIX]web_m2x_options: prevent popup to open web badger is deleted [9.0][FIX]web_m2x_options: prevent popup to open web badger is deleted Feb 9, 2017
@lasley lasley added this to the 9.0 milestone Feb 22, 2017
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jan 30, 2022
@github-actions github-actions Bot closed this Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants