Index: lams_admin/web/userlist.jsp
===================================================================
diff -u -read5d983137f06698c17843087000cb3545e7b34 -r05c00f92856ef13cd90d6fce06acb069418c2512
--- lams_admin/web/userlist.jsp (.../userlist.jsp) (revision ead5d983137f06698c17843087000cb3545e7b34)
+++ lams_admin/web/userlist.jsp (.../userlist.jsp) (revision 05c00f92856ef13cd90d6fce06acb069418c2512)
@@ -163,7 +163,7 @@
- " href="admin/user/edit.do?userId=&orgId=">
+ " href="admin/user/edit.do?userId=&orgId=" id="userEdit${userManageBean.userId}">
Index: lams_admin/web/usersearchlist.jsp
===================================================================
diff -u -r002370657c7bc0bf87eef9c223e1778f74483413 -r05c00f92856ef13cd90d6fce06acb069418c2512
--- lams_admin/web/usersearchlist.jsp (.../usersearchlist.jsp) (revision 002370657c7bc0bf87eef9c223e1778f74483413)
+++ lams_admin/web/usersearchlist.jsp (.../usersearchlist.jsp) (revision 05c00f92856ef13cd90d6fce06acb069418c2512)
@@ -95,7 +95,7 @@
rows += ' ';
rows += '';
rows += ' ';
- rows += '" href="loginas.do?login=' + orgData["login"] + '">';
+ rows += '" href="loginas.do?login=' + orgData["login"] + '" id="loginAs' + orgData["userId"] +'">';
rows += '';
rows += '';
rows += ' ';
Index: lams_central/web/authoring/template/tbl/tbl.jsp
===================================================================
diff -u -rc5f1c588cb57eb6b7c14d1ad679d6c2c1925b319 -r05c00f92856ef13cd90d6fce06acb069418c2512
--- lams_central/web/authoring/template/tbl/tbl.jsp (.../tbl.jsp) (revision c5f1c588cb57eb6b7c14d1ad679d6c2c1925b319)
+++ lams_central/web/authoring/template/tbl/tbl.jsp (.../tbl.jsp) (revision 05c00f92856ef13cd90d6fce06acb069418c2512)
@@ -279,7 +279,7 @@
-
+
Index: lams_central/web/includes/javascript/main.js
===================================================================
diff -u -ra65568cc36db07abf19550359c0db03a9561c964 -r05c00f92856ef13cd90d6fce06acb069418c2512
--- lams_central/web/includes/javascript/main.js (.../main.js) (revision a65568cc36db07abf19550359c0db03a9561c964)
+++ lams_central/web/includes/javascript/main.js (.../main.js) (revision 05c00f92856ef13cd90d6fce06acb069418c2512)
@@ -199,7 +199,8 @@
'open' : function() {
var dialog = $(this);
// load contents after opening the dialog
- $('iframe', dialog).attr('src', LAMS_URL + 'index.do?redirect=profile');
+ $('iframe', dialog).attr({'src': LAMS_URL + 'index.do?redirect=profile',
+ 'id' : 'myProfileModal'});
// in case of mobile devices allow iframe scrolling
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
@@ -303,9 +304,10 @@
'title' : LABELS.MONITORING_TITLE,
'open' : function() {
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL
+ $('iframe', this).attr({'src': LAMS_URL
+ 'home/monitorLesson.do?lessonID='
- + $(this).data('lessonID'));
+ + $(this).data('lessonID'),
+ 'id' : 'monitorModal'});
},
}, true, true);
@@ -347,9 +349,10 @@
var dialog = $(this);
// load contents after opening the dialog
$('iframe', dialog)
- .attr('src', LAMS_URL
+ .attr({'src': LAMS_URL
+ 'home/addLesson.do?organisationID='
- + dialog.data('orgID'));
+ + dialog.data('orgID'),
+ 'id' : 'addLessonModal'});
// in case of mobile devices allow iframe scrolling
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
@@ -372,8 +375,9 @@
'title' : LABELS.COURSE_GROUPS_TITLE,
'open' : function() {
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL + 'organisationGroup/viewGroupings.do?organisationID=' + orgID
- + (activityID ? '&activityID=' + activityID : ''));
+ $('iframe', this).attr({'src': LAMS_URL + 'organisationGroup/viewGroupings.do?organisationID=' + orgID
+ + (activityID ? '&activityID=' + activityID : ''),
+ 'id' : 'orgGroupingModal'});
}
}, true);
}
@@ -386,7 +390,8 @@
'title' : LABELS.COURSE_GROUPS_TITLE,
'open' : function() {
// load contents after opening the dialog
- $('iframe', this).attr('src', url);
+ $('iframe', this).attr({'src': url,
+ 'id' : 'orgGroupModal'});
}
}, true);
}
@@ -491,8 +496,9 @@
'open' : function() {
console.log("width "+$(window).width()+":"+Math.max(380, Math.min(955, $(window).width() - 60)));
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL
- + 'gradebook/gradebookMonitoring/courseMonitor.do?organisationID=' + orgID);
+ $('iframe', this).attr({'src': LAMS_URL
+ + 'gradebook/gradebookMonitoring/courseMonitor.do?organisationID=' + orgID,
+ 'id' : 'gradebookCourseModal'});
}
}, true);
}
@@ -509,8 +515,9 @@
'open' : function() {
var orgID = $(this).data('orgID');
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL
- + 'gradebook/gradebookLearning/courseLearner.do?organisationID=' + orgID);
+ $('iframe', this).attr({'src': LAMS_URL
+ + 'gradebook/gradebookLearning/courseLearner.do?organisationID=' + orgID,
+ 'id' : 'gradebookLearnerModal'});
}
}, true);
}
@@ -527,8 +534,9 @@
'open' : function() {
var lessonID = $(this).data('lessonID');
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL
- + 'lessonConditions/getIndexLessonConditions.do?lsId=' + lessonID);
+ $('iframe', this).attr({'src': LAMS_URL
+ + 'lessonConditions/getIndexLessonConditions.do?lsId=' + lessonID,
+ 'id' : 'conditionsModal'});
}
}, true);
}
@@ -545,8 +553,9 @@
'open' : function() {
var orgID = $(this).data('orgID');
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL
- + 'findUserLessons/getResults.do?courseID=' + orgID);
+ $('iframe', this).attr({'src': LAMS_URL
+ + 'findUserLessons/getResults.do?courseID=' + orgID,
+ 'id' : 'searchLessonModal'});
}
}, true);
}
@@ -563,7 +572,8 @@
'open' : function() {
var orgID = $(this).data('orgID');
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL + 'learning/kumalive/getRubrics.do?organisationID=' + orgID);
+ $('iframe', this).attr({'src': LAMS_URL + 'learning/kumalive/getRubrics.do?organisationID=' + orgID,
+ 'id' : 'kumaliveModal'});
}
}, false);
}
@@ -580,7 +590,8 @@
'open' : function() {
var orgID = $(this).data('orgID');
// load contents after opening the dialog
- $('iframe', this).attr('src', LAMS_URL + 'learning/kumalive/getReport.do?organisationID=' + orgID);
+ $('iframe', this).attr({'src': LAMS_URL + 'learning/kumalive/getReport.do?organisationID=' + orgID,
+ 'id' : 'kumaliveReportsModal'});
}
}, false);
}
@@ -594,8 +605,9 @@
var dialog = $(this);
// load contents after opening the dialog
$('iframe', dialog)
- .attr('src', LAMS_URL
- + 'outcome.do?method=outcomeManage');
+ .attr({'src': LAMS_URL
+ + 'outcome.do?method=outcomeManage',
+ 'id' : 'outcomeModal'});
}
});
}
Index: lams_central/web/main.jsp
===================================================================
diff -u -re6dc4db4137cfd6b07a4aa79711b9d12b39fb78e -r05c00f92856ef13cd90d6fce06acb069418c2512
--- lams_central/web/main.jsp (.../main.jsp) (revision e6dc4db4137cfd6b07a4aa79711b9d12b39fb78e)
+++ lams_central/web/main.jsp (.../main.jsp) (revision 05c00f92856ef13cd90d6fce06acb069418c2512)
@@ -207,14 +207,14 @@