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);
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>

Loading…
Cancel
Save