Index: lams_central/web/qb/stats.jsp =================================================================== diff -u -r9091ed8c9bae9a48f88622c0c5031af2a39772dc -r21555f88fd0c63a4a9eb3ae288a2e1d48452aa4b --- lams_central/web/qb/stats.jsp (.../stats.jsp) (revision 9091ed8c9bae9a48f88622c0c5031af2a39772dc) +++ lams_central/web/qb/stats.jsp (.../stats.jsp) (revision 21555f88fd0c63a4a9eb3ae288a2e1d48452aa4b) @@ -1,12 +1,8 @@ -<%@ page contentType="text/html; charset=utf-8" language="java"%> -<%@ taglib uri="tags-lams" prefix="lams"%> -<%@ taglib uri="tags-fmt" prefix="fmt"%> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-function" prefix="fn" %> + +<%@ include file="/common/taglibs.jsp"%> <% pageContext.setAttribute("newLineChar", "\r\n"); %> - <fmt:message key="label.qb.stats.title" /> @@ -91,7 +87,8 @@ 'data' : { 'targetCollectionUid' : targetCollectionUid, 'copy' : copy, - 'qbQuestionId' : ${question.questionId} + 'qbQuestionId' : ${question.questionId}, + "" : "" }, 'cache' : false }).done(function(){ @@ -115,7 +112,8 @@ 'dataType' : 'text', 'data' : { 'collectionUid' : collectionUid, - 'qbQuestionId' : ${question.questionId} + 'qbQuestionId' : ${question.questionId}, + "": "" }, 'cache' : false }).done(function(){ @@ -128,8 +126,11 @@ } function exportQTI(){ - var frame = document.getElementById("downloadFileDummyIframe"); - frame.src = '?qbQuestionUid=${question.uid}'; + //dynamically create a form and submit it + var exportExcelUrl = '?&qbQuestionUid=${question.uid}'; + var form = $('
'); + $(document.body).append(form); + form.submit(); } //this method gets invoked after question has been edited and saved @@ -560,6 +561,7 @@
+
Question UID
@@ -585,8 +587,6 @@ - -