upgraded AnyEmbed, VideoPicker and WebBrowser apps

preferencesAboutTextFull
unknown 13 years ago
parent f01bc84042
commit f5cff37eff
  1. 5
      resources/library/interactive/Anyembed.wgt/js/ubw-main.js
  2. 5
      resources/library/interactive/VideoPicker.wgt/index.html
  3. 10
      resources/library/interactive/WebBrowser.wgt/index.html

@ -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();
}
} }
} }

@ -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 @@
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 @@
return newArr; return newArr;
} }
if (window.widget) {
window.widget.onremove = function(){
$("#web-content").empty();
}
}
}); });
</script> </script>
</head> </head>

Loading…
Cancel
Save