Uncaught ReferenceError: addRow is not defined


#1

Hi all,

I am developing an app which use side menu template. Two of app screens are triggered from sidemenu -> list -> detail -> problem screen . The screen cannot be loaded and throws following errors (in screen capture) when running on android emulator or physical phone. It runs well on desktop chrome browser.


#2

We need some more info:
Where do you define your addRow function.
Is the module that provides this function already loaded or is the function globally defined?

A codepen or something like that would be fine.

Greetz, bengtler


#3

The addRow() function is not defined by me.
It seems these coding are injected when running on Android/Emulator.
The above screen is captured by using Chrome remote debugging.


#4

OK… My problem is fixed. The problem is due to the link (href) with prefix “/#/xxxx” rather than “#/xxxx” …


#5

I owe you a beer! Thanks for following up.


#6

Thank you for coming back after you fixed it! I had the same issue!


#7

+1 Beer! Thank you!!


#8

+1 Beer! Let’s get this guy wasted!


#9

Oh yeah that’s a beer alright!!! Send your Paypal info!