minor change in iframe offloading

This commit is contained in:
perploug
2013-11-20 20:14:58 +01:00
parent c6caa6aae7
commit c679e00b81

View File

@@ -97,8 +97,10 @@ angular.module('umbraco.services')
if(dialog.element){
dialog.element.modal('hide');
//this is not entirely enough since the damn
//webforms scriploader still complains
if(dialog.iframe){
dialog.element.find("iframe").attr("src", "#");
dialog.element.find("iframe").attr("src", "about:blank");
$timeout(function(){
dialog.element.remove();
}, 1000);