Index: lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -33,6 +33,7 @@ <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ attribute name="formID" required="true" rtexprvalue="true" %> @@ -90,7 +91,7 @@ } } function doCancel() { - if(confirm("")){ + if(confirm("")){ closeWindow("cancel"); } } Index: lams_tool_forum/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag =================================================================== diff -u -rfa2b057ec9dda91bbe9fa54337c32c443f561cd1 -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (.../AuthoringRatingAllStyleCriteria.tag) (revision fa2b057ec9dda91bbe9fa54337c32c443f561cd1) +++ lams_tool_forum/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (.../AuthoringRatingAllStyleCriteria.tag) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -9,6 +9,7 @@ <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> @@ -148,8 +149,8 @@ Index: lams_tool_forum/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u -r500f37cffc230632ac8b906e91bcddd44836a814 -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 500f37cffc230632ac8b906e91bcddd44836a814) +++ lams_tool_forum/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -9,6 +9,7 @@ <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> @@ -132,12 +133,12 @@ })).append(jQuery('', { width: '40px', - html: '
" />' + - '
" />' + html: '
" />' + + '
" />' })).append(jQuery('', { width: '20px', - html: '">' + html: '">' })).appendTo('#criterias-table'); reactivateArrows(); @@ -257,7 +258,7 @@ maxRateDropDown.selectedIndex = minRateDropDown.selectedIndex; } - alert(''); + alert(''); } } Index: lams_tool_forum/web/WEB-INF/tags/OutcomeAuthor.tag =================================================================== diff -u -r006c6b1060de8f84a95f80940553251f22e7a60a -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/WEB-INF/tags/OutcomeAuthor.tag (.../OutcomeAuthor.tag) (revision 006c6b1060de8f84a95f80940553251f22e7a60a) +++ lams_tool_forum/web/WEB-INF/tags/OutcomeAuthor.tag (.../OutcomeAuthor.tag) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -11,6 +11,7 @@ <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> <%@ taglib uri="csrfguard" prefix="csrf" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%-- Optional attributes. Must provide at either lessonId or toolContentId --%> @@ -53,10 +54,10 @@ outcomeMappingIds${outcomeTagId} = [], outcomeAddEnabled = true, - outcomeExistingNoneLabel = '', - outcomeCreateNewLabel = '', + outcomeExistingNoneLabel = '', + outcomeCreateNewLabel = '', outcomeMappingRemoveButton = '', - outcomeMappingRemoveConfirm = ''; + outcomeMappingRemoveConfirm = ''; $(document).ready(function(){ $('#outcomeSearchInput${outcomeTagId}').autocomplete({ Index: lams_tool_forum/web/WEB-INF/tags/Page.tag =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -2,6 +2,7 @@ <%@ taglib uri="tags-core" prefix="c"%> <%@ taglib uri="tags-fmt" prefix="fmt"%> <%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ attribute name="type" required="true" rtexprvalue="true"%> <%@ attribute name="formID" required="false" rtexprvalue="true"%> @@ -186,7 +187,7 @@ // check if autosave does not happen too often if (autosaveInterval > 0 && lamsAutosaveTimestamp && lamsAutosaveTimestamp + autosaveInterval/2 > currentTime) { // this label is required only in tool which implement autosave - alert(''); + alert(''); return false; } localStorage.setItem('lamsAutosaveTimestamp', currentTime); Index: lams_tool_forum/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -3,6 +3,7 @@ <%@ taglib uri="tags-fmt" prefix="fmt"%> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ attribute name="type" required="true" rtexprvalue="true"%> <%@ attribute name="formID" required="false" rtexprvalue="true"%> @@ -188,7 +189,7 @@ // check if autosave does not happen too often if (autosaveInterval > 0 && lamsAutosaveTimestamp && lamsAutosaveTimestamp + autosaveInterval/2 > currentTime) { // this label is required only in tool which implement autosave - alert(''); + alert(''); return false; } localStorage.setItem('lamsAutosaveTimestamp', currentTime); Index: lams_tool_forum/web/common/taglibs.jsp =================================================================== diff -u -r9cbba0026b9584b2e4bcba57f0d5a8510bdb5846 -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/common/taglibs.jsp (.../taglibs.jsp) (revision 9cbba0026b9584b2e4bcba57f0d5a8510bdb5846) +++ lams_tool_forum/web/common/taglibs.jsp (.../taglibs.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -7,3 +7,4 @@ <%@ taglib uri="csrfguard" prefix="csrf" %> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> Index: lams_tool_forum/web/jsps/authoring/advance.jsp =================================================================== diff -u -r62aaf160878735888d077bf28fac3c1989bb8fbd -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/authoring/advance.jsp (.../advance.jsp) (revision 62aaf160878735888d077bf28fac3c1989bb8fbd) +++ lams_tool_forum/web/jsps/authoring/advance.jsp (.../advance.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -220,13 +220,13 @@ var errors = ''; var num = parseFloat(this.value); if (isNaN(num)) { - errors = "\n"; + errors = "\n"; } else if (num <= min) { - errors = ""; + errors = ""; } if (errors) { - alert("\n" + errors); + alert("\n" + errors); } } @@ -275,7 +275,7 @@ maxCharacters.value = minCharacters.value; } - alert(''); + alert(''); } } @@ -291,7 +291,7 @@ maxReplyDropDown.value = minReplyDropDown.value; } - alert(''); + alert(''); } } @@ -307,7 +307,7 @@ maxRateDropDown.value = minRateDropDown.value; } - alert(''); + alert(''); } } Index: lams_tool_forum/web/jsps/authoring/authoring.jsp =================================================================== diff -u -rca136be52df70bbdd506d2383d4d4bd2201a3b3f -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/authoring/authoring.jsp (.../authoring.jsp) (revision ca136be52df70bbdd506d2383d4d4bd2201a3b3f) +++ lams_tool_forum/web/jsps/authoring/authoring.jsp (.../authoring.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -36,10 +36,8 @@ UPLOAD_FILE_MAX_SIZE = '', UPLOAD_FILE_LARGE_MAX_SIZE = '', // convert Java syntax to JSON - EXE_FILE_TYPES = JSON.parse("[" + "${EXE_FILE_TYPES}".replace(/\.\w+/g, '"$&"') + "]"), - decoderDiv = $('
'), - - EXE_FILE_ERROR = decoderDiv.html('').text(); + EXE_FILE_TYPES = JSON.parse("[" + "${EXE_FILE_TYPES}".replace(/\.\w+/g, '"$&"') + "]"), + EXE_FILE_ERROR = ''; function init(){ var tag = document.getElementById("currentTab"); Index: lams_tool_forum/web/jsps/authoring/basic.jsp =================================================================== diff -u -r6132d98ee813109713fda3579007d4359596fc1e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/authoring/basic.jsp (.../basic.jsp) (revision 6132d98ee813109713fda3579007d4359596fc1e) +++ lams_tool_forum/web/jsps/authoring/basic.jsp (.../basic.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -53,7 +53,7 @@ var topicListTargetDiv = "messageListArea"; function deleteTopic(topicIndex, sessionMapID){ - var deletionConfirmed = confirm(""); + var deletionConfirmed = confirm(""); if (deletionConfirmed) { var url = "?"; Index: lams_tool_forum/web/jsps/learning/create.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/create.jsp (.../create.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/create.jsp (.../create.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -52,18 +52,17 @@ Index: lams_tool_forum/web/jsps/learning/definelater.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/definelater.jsp (.../definelater.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/definelater.jsp (.../definelater.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -34,9 +34,9 @@ Index: lams_tool_forum/web/jsps/learning/edit.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/edit.jsp (.../edit.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/edit.jsp (.../edit.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -51,18 +51,16 @@ @@ -106,7 +104,7 @@ var rootUid = response.rootUid; var messDiv = document.getElementById('outermsg'+messageUid); if ( ! messDiv) { - alert(''); + alert(''); } else { // make sure the old edit form is gone, so if something goes wrong // the user won't try to submit it again Index: lams_tool_forum/web/jsps/learning/message/bodyarea.jsp =================================================================== diff -u -rb7aaf1918d51259a93067809b0d1627c2017be33 -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/message/bodyarea.jsp (.../bodyarea.jsp) (revision b7aaf1918d51259a93067809b0d1627c2017be33) +++ lams_tool_forum/web/jsps/learning/message/bodyarea.jsp (.../bodyarea.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -152,11 +152,10 @@
  <%-- Use c:out to escape any quotes in the I18N string. Then use html: true converts any escaped quotes back --%> - <%-- into real quotes. Should be safe from XSS attack as the string is coming from a translation file. --%> - + <%-- into real quotes. Should be safe from XSS attack as the string is coming from a translation file. --%> Index: lams_tool_forum/web/jsps/learning/message/topicview.jsp =================================================================== diff -u -rb71c9cb2f96eb891545d32aaca8904051d1e00d5 -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/message/topicview.jsp (.../topicview.jsp) (revision b71c9cb2f96eb891545d32aaca8904051d1e00d5) +++ lams_tool_forum/web/jsps/learning/message/topicview.jsp (.../topicview.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -10,13 +10,13 @@ - + - + - + expandable:true,initialState:'expanded', expanderTemplate:'${prompt}', @@ -45,7 +45,7 @@ function createReply(messageUid, url, level) { if ( document.getElementById('reply') ) { - alert(''); + alert(''); } else { // set up the new reply area var replyDiv = document.createElement("div"); @@ -58,7 +58,7 @@ function createEdit(messageUid, url, level) { if ( document.getElementById('edit') ) { - alert(''); + alert(''); } else { // set up the new edit area var editDiv = document.createElement("div"); Index: lams_tool_forum/web/jsps/learning/notebook.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/notebook.jsp (.../notebook.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/notebook.jsp (.../notebook.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -37,9 +37,9 @@ @@ -118,7 +116,7 @@ $('#reply').remove(); if ( ! threadDiv) { - alert(''); + alert(''); } else { var loadString = "learning/viewTopicThread.do?topicID=" + rootUid + "&sessionMapID=" + response.sessionMapID + "&threadUid=" + threadUid+"&messageUid="+messageUid; $.ajaxSetup({ cache: true }); Index: lams_tool_forum/web/jsps/learning/submissionDeadline.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/submissionDeadline.jsp (.../submissionDeadline.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/submissionDeadline.jsp (.../submissionDeadline.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -34,9 +34,9 @@ Index: lams_tool_forum/web/jsps/learning/viewforum.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 --- lams_tool_forum/web/jsps/learning/viewforum.jsp (.../viewforum.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/viewforum.jsp (.../viewforum.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) @@ -48,9 +48,9 @@ @@ -70,7 +70,7 @@ resizable: true, // include column filters filter_columnFilters: true, - filter_placeholder: { search : '' }, + filter_placeholder: { search : '' }, filter_searchDelay: 700 } }); @@ -118,12 +118,12 @@ rows += "-"; } else { - var anyPostsMarked = (userData["anyPostsMarked"]) ? '' : ''; + var anyPostsMarked = (userData["anyPostsMarked"]) ? '' : ''; rows += anyPostsMarked; var viewUserMarkUrl = '?sessionMapID=${sessionMapID}&userUid=' + userData["userUid"] + "&toolSessionID=" + $(table).attr('data-session-id'); rows += ''; - rows += ''; + rows += ''; rows += ''; } rows += '';