[FIX]:Uncaught ReferenceError: _super is not defined
authorAmit Patel <apa@tinyerp.com>
Thu, 25 Oct 2012 13:18:49 +0000 (18:48 +0530)
committerAmit Patel <apa@tinyerp.com>
Thu, 25 Oct 2012 13:18:49 +0000 (18:48 +0530)
bzr revid: apa@tinyerp.com-20121025131849-zeix7qy8mr6seam0

addons/pad/static/src/js/pad.js

index cba2086..0558fc5 100644 (file)
@@ -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();
                     }
                 });