Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/f5cff37eff5c69b71e534b518e4421c17ca62bb5?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
83 additions and
75 deletions
resources/library/interactive/Anyembed.wgt/js/ubw-main.js
resources/library/interactive/VideoPicker.wgt/index.html
resources/library/interactive/WebBrowser.wgt/index.html
@ -91,7 +91,12 @@ function init(){
inputBox . val ( loadEmbed ) ;
submit . trigger ( "click" ) ;
}
}
if ( window . widget ) {
window . widget . onremove = function ( ) {
loadWindow . empty ( ) ;
}
}
}
@ -168,10 +168,7 @@
if (window.widget) {
window.widget.onremove = function(){
//$("#show-inputfield-button").trigger("click");
$("#embeded-content")
.empty();
//.oembed($("#textbox").val());
$("#embeded-content").empty();
}
}
@ -206,8 +206,8 @@
resizerIndex = 0;
$("#web-content")
.attr("width", globalWidth - 25)
.attr("height", globalHeight - 90);
$("#web-content") .show();
.attr("height", globalHeight - 90)
.show();
$(window).trigger("resize");
return false;
};
@ -243,6 +243,12 @@
return newArr;
}
if (window.widget) {
window.widget.onremove = function(){
$("#web-content").empty();
}
}
});
< / script >
< / head >