-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't call superclass method #5
Comments
this.proto.init(); this method calls superclass method, but I guess it is whong or you should update documentation (proto instead of _parent()) |
Could you please create a test case at http://jsfiddle.net/ with the code you are trying to get to work. Regarding this.proto.init() it does not work in all browsers. this._parent() will work in all browsers however. |
can't believe it. I've made almost the same page and it worked. But original |
Wow. var CountriesPage = FormDatatablesGridPage.extend({ init: function(gridId, gridMargin) { everything is OK. But if i write var CountriesPage = FormDatatablesGridPage.extend({ init: function(gridId, gridMargin) { (1st line in constructor is commented), when I can't see _parent in firebug |
According to doc there must be available method:
this._parent()
But I get "TypeError: this._parent is not a function".
By the way, can I call this method in constructor init()?
The text was updated successfully, but these errors were encountered: