[IMP]:improved code.

bzr revid: apa@tinyerp.com-20120427063152-9qp4k3mz6dhgz7ho
This commit is contained in:
Amit Patel (OpenERP) 2012-04-27 12:01:52 +05:30
parent f8e076e9a4
commit 49eb72d417
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ openerp.project = function(openerp) {
/* set background color.
we can do other way to implement new widget.
because we need to rpc call for that.
*/
this.$element.find('.bgcolor').click(function(){
color = parseInt($(this).find('span').attr('class').split(' ')[0].substring(16))