NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined
« previous
next »
Print
Pages: [
1
]
Author
Topic: NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined (Read 3651 times)
debzidoodle
Jr. Member
Posts: 98
NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined
«
on:
March 20, 2014, 12:18:01 PM »
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
»
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
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
Logged
trent
Full Member
Posts: 204
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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
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
Logged
trent
Full Member
Posts: 204
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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
NT 8.02 Mobile mode: ReferenceError: getScreenSize is not defined