diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-11-21 12:07:48 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-11-21 12:07:48 +0100 |
| commit | fee8cb0fff1773648ea3c246a14470d92840686b (patch) | |
| tree | ca66a65ff008b2ce80ffc6ae46675cc0dfb2d101 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 298568136660938b9465ae93880a34d2b0eb3d8f (diff) | |
[FIX] reimplement [Edit] button on images
Button implementation turned out to be crap:
* Didn't work at all in Firefox (!)
* Unreliable in webkit, some types of image selection wouldn't
correctly activate the button
->
* changed RTEImageDialog to take an (optional) image element, used as
the "source element" if provided. This allows greater reliability
for events which may leave selection in debatable or variable
(across browsers) state
* setup and teardown button on hover, using selection triggered issues
with oe_overlay thing where e.g. the first click on the button would
work but the second one would not (it'd be intercepted by the
overlay as far as I can tell).
This also saves a click for user, they will see the [Edit] button
immediately when putting the cursor over the image.
bzr revid: xmo@openerp.com-20131121110748-s5e2ne3etpzwi2a6
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
