From 3ae177a7ee2905016e2ff6d7392e1dfea3aa68d7 Mon Sep 17 00:00:00 2001 From: Amit Patel Date: Thu, 25 Oct 2012 18:48:49 +0530 Subject: [PATCH] [FIX]:Uncaught ReferenceError: _super is not defined bzr revid: apa@tinyerp.com-20121025131849-zeix7qy8mr6seam0 --- addons/pad/static/src/js/pad.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/pad/static/src/js/pad.js b/addons/pad/static/src/js/pad.js index cba2086b772..0558fc57ec1 100644 --- a/addons/pad/static/src/js/pad.js +++ b/addons/pad/static/src/js/pad.js @@ -13,7 +13,8 @@ openerp.pad = function(instance) { object_id: self.view.datarecord.id }}).then(function(data) { if(data&&data.url){ - _super.apply(self,[data.url]); + // is there any reason to call super here ? why ? + // _super.apply(self,[data.url]); self.renderElement(); } });