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.
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.
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://");
}
});