Browse Source

Merge pull request #372 from antespi/patch-1

Remove debug code in JS
pull/376/head
Sylvain LE GAL 9 years ago
committed by GitHub
parent
commit
54ead4fa60
  1. 2
      help_popup/static/src/js/popup_help.js

2
help_popup/static/src/js/popup_help.js

@ -12,8 +12,6 @@ openerp.help_popup = function(instance, local) {
return true; return true;
} }
$elem.data('click-init', true); $elem.data('click-init', true);
//alert('ee' + self.action)
console.log(self.action.id)
if (self.action.id == undefined || (self.action.advanced_help == '' && self.action.enduser_help == '')) { if (self.action.id == undefined || (self.action.advanced_help == '' && self.action.enduser_help == '')) {
self.$el.find('span.view_help').hide() self.$el.find('span.view_help').hide()
} }

Loading…
Cancel
Save