[IMP]:improved code.
bzr revid: apa@tinyerp.com-20120427063152-9qp4k3mz6dhgz7ho
This commit is contained in:
parent
f8e076e9a4
commit
49eb72d417
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue