@@ -30,9 +27,8 @@
var lessonId="${lsId}";
var edit="${edit}";
- function removePrecedingLesson(precedingLessonId){
- document.location.href="lessonConditions/removeLessonDependency.do?lsId=" + lessonId
- + "&precedingLessonId=" + precedingLessonId;
+ function submitForm(formId){
+ $(formId).submit();
}
$(document).ready(function(){
@@ -66,9 +62,13 @@
+
+
+
- " onclick="javascript:removePrecedingLesson(${precedingLesson.id})">
+ " onclick="javascript:submitForm(delete_${precedingLesson.id})">
+
@@ -92,6 +92,8 @@