Commit f5cff37e authored by unknown's avatar unknown

upgraded AnyEmbed, VideoPicker and WebBrowser apps

parent f01bc840
...@@ -91,7 +91,12 @@ function init(){ ...@@ -91,7 +91,12 @@ function init(){
inputBox.val(loadEmbed); inputBox.val(loadEmbed);
submit.trigger("click"); submit.trigger("click");
} }
}
if (window.widget) {
window.widget.onremove = function(){
loadWindow.empty();
}
} }
} }
\ No newline at end of file
...@@ -168,10 +168,7 @@ ...@@ -168,10 +168,7 @@
if (window.widget) { if (window.widget) {
window.widget.onremove = function(){ window.widget.onremove = function(){
//$("#show-inputfield-button").trigger("click"); $("#embeded-content").empty();
$("#embeded-content")
.empty();
//.oembed($("#textbox").val());
} }
} }
......
...@@ -206,8 +206,8 @@ ...@@ -206,8 +206,8 @@
resizerIndex = 0; resizerIndex = 0;
$("#web-content") $("#web-content")
.attr("width", globalWidth - 25) .attr("width", globalWidth - 25)
.attr("height", globalHeight - 90); .attr("height", globalHeight - 90)
$("#web-content").show(); .show();
$(window).trigger("resize"); $(window).trigger("resize");
return false; return false;
}; };
...@@ -243,6 +243,12 @@ ...@@ -243,6 +243,12 @@
return newArr; return newArr;
} }
if (window.widget) {
window.widget.onremove = function(){
$("#web-content").empty();
}
}
}); });
</script> </script>
</head> </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