[FIX]:Uncaught ReferenceError: _super is not defined

bzr revid: apa@tinyerp.com-20121025131849-zeix7qy8mr6seam0
This commit is contained in:
Amit Patel
2012-10-25 18:48:49 +05:30
parent cd279fffbe
commit 3ae177a7ee
+2 -1
View 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();
}
});