Mohammed Shekha(Open ERP) has proposed merging
lp:~openerp-dev/openobject-client-web/6.0-opw-381639-msh into
lp:openobject-client-web.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-381639-msh/+merge/89249
Hello,
Fixed the issue of context menu which was not show at proper place if we open
the context menu of extreme right field.
Demo :- Open Sale order -> Sale order line -> select product -> and then click
open resource button.
You will see the context menu will opened at very extreme and and you
will get scrolling but when you go to scroll the page at that time context menu
will be disappear so this makes context menu useless.
So changed the code accordingly to fix the issue.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-381639-msh/+merge/89249
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client-web/6.0-opw-381639-msh.
=== modified file 'addons/openerp/static/javascript/form.js'
--- addons/openerp/static/javascript/form.js 2011-12-19 08:20:25 +0000
+++ addons/openerp/static/javascript/form.js 2012-01-19 14:36:25 +0000
@@ -881,7 +881,7 @@
var menu_width = $menu.width();
var body_width = jQuery(document.body).width();
if (parseInt($menu.css("left")) + menu_width > body_width) {
- $menu.offset({ left: body_width - menu_width - 10 });
+ $menu.css({left: body_width - menu_width - 10 + 'px'});
}
showContextMenu();
});
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp