[IMP] Click on openerp element then close resolution dialog.
bzr revid: bth@tinyerp.com-20121022061553-icx3zjy0n678bemm
This commit is contained in:
@@ -986,6 +986,10 @@ instance.web.WebClient = instance.web.Client.extend({
|
||||
self.$el.on('contextmenu','.oe_logo',function(e) {
|
||||
instance.web.dialog($(QWeb.render('Resolution')),{
|
||||
title: "OpenERP Resolution" });
|
||||
|
||||
$(self.$el).click(function(){
|
||||
$('.resolution').dialog('close');
|
||||
})
|
||||
$('.resolution a').click(function() {
|
||||
self.$el.find('.oe_logo').css('width', $(this).attr('awidth')+"px");
|
||||
self.$el.find('.oe_logo').css('height', $(this).attr('aheight')+"px");
|
||||
|
||||
Reference in New Issue
Block a user