NetTalk Central

Author Topic: NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined  (Read 3650 times)

debzidoodle

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
    • Email
In mobile mode I am getting the following error, preventing any form from submitting.

ReferenceError: getScreenSize is not defined
https://10.211.55.4/?_mobile_=1
Line 42

[Edit] probably related, but I am also getting this error if I tell the getScreenSize to ignore
ReferenceError: getLocation is not defined
https://10.211.55.4/IndexPage?_mobile_=1
Line 42

Thanks,
Debra
« Last Edit: March 20, 2014, 12:38:44 PM by debzidoodle »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined
« Reply #1 on: March 20, 2014, 10:02:49 PM »
Morning Debra,
Did you deploy the web folder?
you'd get errors like that if some of the javascript was missing.
Also, make sure it's 8.02 - I would expect a problem like this in 8.01 but not 8.02.

cheers
Bruce

trent

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined
« Reply #2 on: April 10, 2014, 01:55:03 PM »
Hi Bruce,

I'm getting this error too in 8.07. The javascript as an error:

$(document).ready( function(){getScreenSize();

Should be (according to Lint):

$(document).ready( function(){getScreenSize();});

Regards,
Trent

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined
« Reply #3 on: April 10, 2014, 10:03:42 PM »
Do a right click ; view source ; on the web page.
I tried it with an example app and I see;

<script defer="defer">
$(document).ready( function(){
versionCheck('8.04');
getScreenSize();
})</script>


which is correct as far as I can see. What do you see in the source?

Cheers
Bruce

trent

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined
« Reply #4 on: April 10, 2014, 11:00:38 PM »
As it did the other day, the error messages have disappeared all of a sudden! They happened on some builds and then they were gone...

Regards,
Trent