Browse Source

[FIX] display popup if action is undefined

pull/149/head
David Beal 9 years ago
parent
commit
03d5ad5406
  1. 4
      help_popup/static/src/js/popup_help.js

4
help_popup/static/src/js/popup_help.js

@ -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…
Cancel
Save