Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/f45514dea8df8b94009a29e3cd32f5119a1bd587
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
1 deletions
resources/library/interactive/WebBrowser.wgt/index.html
@ -8,7 +8,6 @@
< title > Web Browser< / title >
< link rel = "stylesheet" type = "text/css" href = "css/main.css" >
< script src = "scripts/jquery-1.3.2.min.js" type = "text/javascript" > < / script >
<!-- DEFAULT FR -->
< / head >
< body >
@ -43,6 +42,9 @@
if(window.sankore){
url = window.sankore.preference("url", "");
if(sankore.preference("browserHistory", ""))
references = sankore.preference("browserHistory", "").split(",");
currentHistory = parseInt(sankore.preference("browserIndex", "0"));
}else{
url = "";
};
@ -141,6 +143,8 @@
if(window.sankore){
window.sankore.setPreference("url", $("#textbox").val());
window.sankore.setPreference("browserHistory", references.toString());
window.sankore.setPreference("browserIndex", currentHistory);
};
$("#embeded-content").hide();
@ -152,6 +156,9 @@
clearTimeout(resizer);
resizerIndex = 0;
$("#web-content")
.attr("width", globalWidth - 25)
.attr("height", globalHeight - 90);
$("#web-content").show();
return false;
};