0
我正在使用框架集的web應用程序,並試圖實現Jira問題收集器。 Jira問題收集器對使用框架集的webapps不太好。這裏更詳細。所以我創建了一個解決方法,將問題收集器彈出到新窗口中。這裏更詳細。現在我可以關閉問題收集器窗口,但是一旦問題收集器關閉,空白網頁就會保持打開狀態。有什麼辦法可以讓問題收集器關閉窗口嗎?點擊「提交」或「關閉」後,如何關閉JIRA問題收集器窗口
鏈接彈出我的JavaScript到一個新窗口
<td class="menu2norm" width="80" align="center"><a href="javascript:IssueCollector();" class="menu2">Provide Feedback</a></td>
JavaScript代碼
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
jQuery.ajax({
url: "JIRA ISSUE COLLECTOR URL",
type: "get",
cache: false,
dataType: "script"
});
window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
$(this).on('load', function(e) {
e.preventDefault();
showCollectorDialog();
});
}
};
window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
fieldValues: {
fullname : '<%=Session("LoggedFirstName") & " " & Session("LoggedLastName")%>',
email : '<%=Session("LoggedEmail")%>',
}
});
</script>