Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5502 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 25
759
10
apr. 23
34488
5
dec. 22
29619
20
feb. 21
103429
0
mrt. 15
4971