c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26778
Re: [Bug 795471] Re: The context menu of 'Open' button in many2one widget display wrong position.
Hello
I found the bug.
addons/openerp/static/javascript/form.js line 890
i fixed this line
$menu.offset({ left: body_width - menu_width - 10 });
to
$menu.css({'left':(body_width - menu_width - 10)+'px'});
then my problem has resolved.
On Fri, Jun 17, 2011 at 2:08 PM, Jacara <795471@xxxxxxxxxxxxxxxxxx>
wrote:
> Please check this code:
>
> addons/openerp/static/javascript/form.js line 888:
>
> var body_width = jQuery(document.body).width();
> if (parseInt($menu.css("left")) + menu_width > body_width) {
> $menu.offset({ left: body_width - menu_width - 10 });
> }
>
> This case context menu div element display on inner frame dialog. But
> jQuery(document.body).width() returns browser full screen's width value.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/795471
>
> Title:
> The context menu of 'Open' button in many2one widget display wrong
> position.
>
> Status in OpenERP Web Client:
> Incomplete
>
> Bug description:
> The context menu of 'Open' button in many2one widget display wrong
> position.
>
> I tested in chromium-browser and firefox on windows and linux too.
>
> Sorry my english so bad.
>
> See an attachment
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-client-web/+bug/795471/+subscriptions
>
--
Хүндэтгэсэн :
Басхүү.Л [USI]
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/795471
Title:
The context menu of 'Open' button in many2one widget display wrong
position.
Status in OpenERP Web Client:
Incomplete
Bug description:
The context menu of 'Open' button in many2one widget display wrong
position.
I tested in chromium-browser and firefox on windows and linux too.
Sorry my english so bad.
See an attachment
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/795471/+subscriptions
References