Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5495 Widoki

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
744
10
kwi 23
34477
5
gru 22
29612
20
lut 21
103393
0
mar 15
4969