Index: lams_central/web/authoring/template/comms.jsp =================================================================== diff -u -rfe5fbc5489dec2e021772e80357e9f5fca618fb5 -r8ba82ac0f24b78e4f46db5e16eb6b867d7fa4fb8 --- lams_central/web/authoring/template/comms.jsp (.../comms.jsp) (revision fe5fbc5489dec2e021772e80357e9f5fca618fb5) +++ lams_central/web/authoring/template/comms.jsp (.../comms.jsp) (revision 8ba82ac0f24b78e4f46db5e16eb6b867d7fa4fb8) @@ -135,11 +135,14 @@ // Triggers the import window. The saving is done in a method saveQTI(formHTML, formName, callerID) which should be defined in the main template jsp file. // CallerID can be set to define which tab has triggered the QTI import, as TBL has import on both the RAT Questions and App Ex tabs. - function importQTI(callerID, limit){ + function importQTI(callerID, limit, type){ var url = 'questions/questionFile.jsp?callerID='+callerID; if ( limit ) { url = url + '&limitType='+limit; } + if ( type ) { + url = url + '&importType='+type; + } // open import pop up window, centered horizontally var left = ((screen.width / 2) - (500 / 2)); window.open(url,'QuestionFile','width=500,height=370,scrollbars=yes,top=150,left=' + left); @@ -449,4 +452,4 @@ return 'Can not be empty!'; } } - \ No newline at end of file +