" />'
})).append(jQuery('
| ', {
width: '20px',
- html: '
">'
+ html: '
">'
})).appendTo('#criterias-table');
reactivateArrows();
@@ -257,7 +257,7 @@
maxRateDropDown.selectedIndex = minRateDropDown.selectedIndex;
}
- alert('
');
+ alert('
');
}
}
Index: lams_tool_sbmt/web/WEB-INF/tags/OutcomeAuthor.tag
===================================================================
diff -u -r006c6b1060de8f84a95f80940553251f22e7a60a -r955ea2e56ab29f6953d79efbddb1b8406a57aa05
--- lams_tool_sbmt/web/WEB-INF/tags/OutcomeAuthor.tag (.../OutcomeAuthor.tag) (revision 006c6b1060de8f84a95f80940553251f22e7a60a)
+++ lams_tool_sbmt/web/WEB-INF/tags/OutcomeAuthor.tag (.../OutcomeAuthor.tag) (revision 955ea2e56ab29f6953d79efbddb1b8406a57aa05)
@@ -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_sbmt/web/WEB-INF/tags/Page.tag
===================================================================
diff -u -rfe19797ec82718905555353176ed719bec11043e -r955ea2e56ab29f6953d79efbddb1b8406a57aa05
--- lams_tool_sbmt/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision fe19797ec82718905555353176ed719bec11043e)
+++ lams_tool_sbmt/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 955ea2e56ab29f6953d79efbddb1b8406a57aa05)
@@ -186,7 +186,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_sbmt/web/WEB-INF/tags/Page5.tag
===================================================================
diff -u -rfe19797ec82718905555353176ed719bec11043e -r955ea2e56ab29f6953d79efbddb1b8406a57aa05
--- lams_tool_sbmt/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision fe19797ec82718905555353176ed719bec11043e)
+++ lams_tool_sbmt/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 955ea2e56ab29f6953d79efbddb1b8406a57aa05)
@@ -188,7 +188,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_sbmt/web/common/taglibs.jsp
===================================================================
diff -u -r9cbba0026b9584b2e4bcba57f0d5a8510bdb5846 -r955ea2e56ab29f6953d79efbddb1b8406a57aa05
--- lams_tool_sbmt/web/common/taglibs.jsp (.../taglibs.jsp) (revision 9cbba0026b9584b2e4bcba57f0d5a8510bdb5846)
+++ lams_tool_sbmt/web/common/taglibs.jsp (.../taglibs.jsp) (revision 955ea2e56ab29f6953d79efbddb1b8406a57aa05)
@@ -5,6 +5,7 @@
<%@ taglib uri="tags-xml" prefix="x" %>
<%@ taglib uri="tags-lams" prefix="lams" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
Index: lams_tool_sbmt/web/learner/sbmtlearner.jsp
===================================================================
diff -u -rca136be52df70bbdd506d2383d4d4bd2201a3b3f -r955ea2e56ab29f6953d79efbddb1b8406a57aa05
--- lams_tool_sbmt/web/learner/sbmtlearner.jsp (.../sbmtlearner.jsp) (revision ca136be52df70bbdd506d2383d4d4bd2201a3b3f)
+++ lams_tool_sbmt/web/learner/sbmtlearner.jsp (.../sbmtlearner.jsp) (revision 955ea2e56ab29f6953d79efbddb1b8406a57aa05)
@@ -44,9 +44,7 @@
UPLOAD_FILE_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_ERROR = '
';
$(document).ready(function() {
@@ -174,10 +172,10 @@
if (uploadedFilesNumber < ${sessionMap.minLimitUploadNumber}) {
if (${sessionMap.mode eq 'author'}) {
- alert('' +
- '\n');
+ alert('' +
+ '\n');
} else {
- alert('');
+ alert('');
return false;
}
}
@@ -186,11 +184,11 @@
//let user confirm zero files upload
if (uploadedFilesNumber == 0) {
if (${sessionMap.lockOnFinish}) {
- if (!confirm("")) {
+ if (!confirm("")) {
return false;
}
} else {
- if (!confirm("")) {
+ if (!confirm("")) {
return false;
}
}
@@ -228,7 +226,7 @@
// check description
clearFileError("desc-error-msg");
if ( $('#description').val().trim().length == 0 ) {
- var requiredMsg = '';
+ var requiredMsg = '';
showFileError(requiredMsg, "desc-error-msg");
valid = false;
}
@@ -252,7 +250,7 @@
}
function deleteLearnerFile(detailId, filename) {
- var msg = '';
+ var msg = '';
msg = msg.replace('{0}', filename);
var answer = confirm(msg);
if (answer) {
Index: lams_tool_sbmt/web/monitoring/mark/allmarks.jsp
===================================================================
diff -u -rfe19797ec82718905555353176ed719bec11043e -r955ea2e56ab29f6953d79efbddb1b8406a57aa05
--- lams_tool_sbmt/web/monitoring/mark/allmarks.jsp (.../allmarks.jsp) (revision fe19797ec82718905555353176ed719bec11043e)
+++ lams_tool_sbmt/web/monitoring/mark/allmarks.jsp (.../allmarks.jsp) (revision 955ea2e56ab29f6953d79efbddb1b8406a57aa05)
@@ -20,8 +20,8 @@
/includes/javascript/marks.js">
@@ -40,7 +40,7 @@
resizable: true,
// include column filters
filter_columnFilters: true,
- filter_placeholder: { search : '' },
+ filter_placeholder: { search : '' },
filter_searchDelay: 700
}
});
@@ -71,11 +71,11 @@
rows += '';
if ( userData["marked"] ) {
- rows += '';
+ rows += '';
} else {
- rows += '';
+ rows += '';
}
- rows += ' []';
+ rows += ' []';
rows += ' | ';
@@ -152,7 +152,7 @@
reqID: (new Date()).getTime()
},
success: function(response) {
- alert("".replace('[0]', response));
+ alert("".replace('[0]', response));
}
});
}
@@ -176,15 +176,15 @@
'' : ''
},
success : function(){
- alert("");
+ alert("");
},
error : function(){
- alert("");
+ alert("");
}
});
} else {
- alert("");
+ alert("");
}
}