← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 795471] Re: The context menu of 'Open' button in many2one widget display wrong position.

 

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 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


Follow ups

References