Add JSFrame implementation for report window
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -78,7 +78,6 @@ function openReplyWindow() {
|
||||
url: REPLY_URL,
|
||||
});
|
||||
window.top.replyWindow.show();
|
||||
window.top.replyWindow.on("hid", (frame, info) => console.log("hidden"));
|
||||
}
|
||||
|
||||
function replyTextbox() {
|
||||
|
||||
@@ -20,7 +20,9 @@ function isIframe() {
|
||||
|
||||
setTimeout(function() {
|
||||
if(isIframe()) {
|
||||
window.top.reportWindow.close();
|
||||
if(typeof window.top.reportWindow !== "undefined" && window.top.reportWindow) {
|
||||
window.top.reportWindow.closeFrame();
|
||||
}
|
||||
} else {
|
||||
window.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user