diff --git a/comp/workflow/profile/preview/control/control.html b/comp/workflow/profile/preview/control/control.html index 6d1103325..1245e191e 100644 --- a/comp/workflow/profile/preview/control/control.html +++ b/comp/workflow/profile/preview/control/control.html @@ -20,11 +20,17 @@ parent.preview_uri; return false; } + var btnRemoveFrame = document.getElementById("removeframe"); + btnRemoveFrame.onclick = function() { + parent.location.href = + parent.preview_uri; + return false; + } }
- +