mirror of https://github.com/OCA/web.git
[FIX] display popup if action is undefined
parent
4872219c34
commit
03d5ad5406
|
@ -12,7 +12,9 @@ openerp.help_popup = function(instance, local) {
|
|||
return true;
|
||||
}
|
||||
$elem.data('click-init', true);
|
||||
if (self.action.custom_help == '' && self.action.owner_help == '') {
|
||||
//alert('ee' + self.action)
|
||||
console.log(self.action.id)
|
||||
if (self.action.id == undefined || (self.action.custom_help == '' && self.action.owner_help == '')) {
|
||||
self.$el.find('span.view_help').hide()
|
||||
}
|
||||
$elem.on('click', function(e) {
|
||||
|
|
Loading…
Reference in New Issue