Tejas Tank (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-kanban-pagescroll-fixed-tta into
lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-kanban-pagescroll-fixed-tta/+merge/79521
Hello,
I have fixed the issue of page-scroll when click on any button -> kanban view
box.
Thanks,
Tejas - TTA
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-kanban-pagescroll-fixed-tta/+merge/79521
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-kanban-pagescroll-fixed-tta.
=== modified file 'addons/web_kanban/static/src/js/kanban.js'
--- addons/web_kanban/static/src/js/kanban.js 2011-10-03 13:52:03 +0000
+++ addons/web_kanban/static/src/js/kanban.js 2011-10-17 09:10:19 +0000
@@ -110,7 +110,7 @@
}];
}
if (node.tag == 'a') {
- node.attrs.href = '#';
+ node.attrs.href = 'javascript:void(0);';
} else {
node.attrs.type = 'button';
}
=== modified file 'addons/web_kanban/static/src/xml/web_kanban.xml'
--- addons/web_kanban/static/src/xml/web_kanban.xml 2011-09-27 08:42:48 +0000
+++ addons/web_kanban/static/src/xml/web_kanban.xml 2011-10-17 09:10:19 +0000
@@ -34,7 +34,7 @@
<tr>
<t t-foreach="colors" t-as="color">
<td t-att-bgcolor="color">
- <a href="#" t-att-data-color="color_index + 1"/>
+ <a href="javascript:void(0);" t-att-data-color="color_index + 1"/>
</td>
<t t-if="((color_index + 1) % Math.round(colors.length / columns)) == 0"></tr><tr></t>
</t>
_______________________________________________
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