Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5493 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 25
744
10
dub 23
34477
5
pro 22
29611
20
úno 21
103387
0
bře 15
4969