Commit f5cff37e authored by unknown's avatar unknown

upgraded AnyEmbed, VideoPicker and WebBrowser apps

parent f01bc840
......@@ -91,7 +91,12 @@ function init(){
inputBox.val(loadEmbed);
submit.trigger("click");
}
}
if (window.widget) {
window.widget.onremove = function(){
loadWindow.empty();
}
}
}
\ No newline at end of file
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment