Use webix jet with Cordova

Dear friend,

I am using webix jet with Cordova. I scaffolding with the webix sample. It loads on Android phone. But it always shows "use http:// , don't use file://" , How can I get rid of this message since I bundle all stuff in cordova.

Comments

  • This message occurs only with webix_debug.js.

    While using debug version of the library, you can locate and comment the next code block

    webix.ready(function(){
        var path = document.location.href;
        if (path.indexOf("file:")===0){
            if (webix.message)
                webix.message({
                    type:"error", 
                    text:"Please open sample by http,<br>not as file://",
                    expire:-1
                });
            else 
                window.alert("Please open sample by http, not as file://");
        }
    });
    
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion