Skip to Content
Menú
This question has been flagged
5500 Vistes

Dear community.

I'm having some problems when I'm trying to inherit exportasJSON.

I'm extending module.Order, this worked for almost every method but this is not working.

I've tried:

this._super.apply(this,arguments);

and:

this._super();

But it displays some errors:

Uncaught TypeError: Cannot call method 'apply' of undefined

and

Object [object Object] has no method '_super'

Someone know why this is not working? I'm trying to add some variables to return when it calls exportAsJSON.

Thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 25
753
10
d’abr. 23
34481
5
de des. 22
29615
20
de febr. 21
103404
0
de març 15
4971