-
24 Oct 2012 5:03 AM #1
My applications doesn't load in firefox
My applications doesn't load in firefox
Good morning everyone.
My app doesn't load in firefox, when I visit the app URL, nothing pops out to screen and if I try do load the page with Firebug activated, it crashes firefox!
Firefox version: 13.0
Firebug version: 1.10.4
My html headers:
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" > </meta> <title></title> <link rel="stylesheet" type="text/css" href="./extjs/resources/css/ext-all.css"/> <script type="text/javascript" src="./extjs/ext-debug.js"></script> <script type="text/javascript" src="App.js"></script> </head> <body> <div id="chamada" align="center"> </div> <br /> <br /> <div id="alunos"> </div> </body> </html>
And it works just fine in Chrome 21.0.1180.89
Does anyone has a hint about what could be causing this?
Thanks!
-
24 Oct 2012 8:23 AM #2
Do you receive any error in the console? How about in Chrome .. any errors?
Posting your HTML does not really provide any details into the reason your app does not load.
Try using ext-dev.js instead ext-debug.js and check your console.
Have you checked for syntax errors (extra / missing comma, etc) ?
Scott.
-
24 Oct 2012 12:08 PM #3
Hello Scott, thanks for the reply.
I receive no error in Google Chrome. In Chrome my app works perfectly.
In Firefox, it crashes the whole browser if Firebug is activated when I load the application
so, i have no idea if would display any error message. The same happens if I try to load Firebug after firefox start loading my page.
The situation is: Fine in Chrome. Blank in Firefox if Firebug is off. Crashes the whole thing if Firebug is on.
I'm not at work now but tomorrow I will try ext-dev..
-
25 Oct 2012 4:02 AM #4
Try to remove console.log warn etc
-
25 Oct 2012 5:42 AM #5
I figured out
I figured out
Hello guys, I figured out, the problem was happening because I was loading data to store before onReady gets fired.
So I just put the stores code inside onReady function and now it works perfectly on both Firefox and Google Chrome.
Seems like I need to get rid of this old-style programming..
Thanks!



Reply With Quote