Mohammed Shekha(Open ERP) has proposed merging
lp:~openerp-dev/openerp-web/6.1-opw-574546-msh into lp:openerp-web/6.1.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-574546-msh/+merge/104723
Hello,
Fixed the issue of IE text rotation in graphview, as IE doesn't support text
rotation in degrees, also The rotation property of the BasicImage filter can
accept one of four values: 0, 1, 2, or 3 which will rotate the element 0, 90,
180 or 270 degress respectively.
For demo you can open any graph view in IE, the text on X axis will be
mirroring text.
Actually the issue is from dhtmlx lib in dhtmlxchart.css, here in lib there is
rotation of 2 for IE so it will rotate the text by 180 degree, but fixed the
issue from graph.js file to keep lib as it is.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-574546-msh/+merge/104723
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/6.1-opw-574546-msh.
=== modified file 'addons/web_graph/static/src/js/graph.js'
--- addons/web_graph/static/src/js/graph.js 2012-02-16 08:42:37 +0000
+++ addons/web_graph/static/src/js/graph.js 2012-05-04 12:08:20 +0000
@@ -338,6 +338,8 @@
charts.attachEvent("onItemClick", function(id) {
self.open_list_view(charts.get(id));
});
+ //Fixed IE rotation text issue as IE doesn't support text transform rotation.
+ jQuery(self.$element.find(".dhx_axis_item_x")).css('filter', 'progid:DXImageTransform.Microsoft.BasicImage(rotation=0)');
};
if (this.renderer) {
clearTimeout(this.renderer);
_______________________________________________
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