1. #1
    Sencha User
    Join Date
    Aug 2012
    Vote Rating
    pelegs is on a distinguished road


    Default Loading image get stuck on Chrome, app not shown properly in Firefox

    I'm using Ubuntu 12.04, but the following problem occurs on Windows 7 as well.

    I've stumbled upon a somewhat strange problem: I've downloaded and installed Sencha properly, and smae for the SDK. I can create a project (e.g. "sencha generate app GS ../GS"), but It isn't shown properly on either Chrome or Firefox.
    In Firefox it doesn't display any graphics, and looks nothing like the examples in the first tutorial. On chrome, the loading screen is stuck, and I cannot proceed further.

    I should mention that I'm not using a local-host to open the project, I just open the index.html file directly from FF/Chrome.

    Edit: After installing an apache server on my system, it works okay with chrome, when opening the app through the address "localhost/GS". Firefox still behives weird, though:


  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    New Jersey
    Vote Rating
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice



    Firefox is not a webkit browser so all the css webkit properties will not work.

    If you'd like to notify users that the browser is not supported, you can include this in your Ext.application:
    launch: {
            alert("The current browser is unsupported.\n\nSupported browsers:\n" +
                "Google Chrome\n" + 
                "Apple Safari\n" + 
                "Mobile Safari (iOS)\n" + 
                "Android Browser\n" + 
                "BlackBerry Browser"
        else{//launch app

Thread Participants: 1

Tags for this Thread