Index: lams_monitoring/web/emailnotifications/courseNotifications.jsp =================================================================== diff -u -r2ef18e4c87e2e7929950dbeb990c6715ef16c0c2 -rd5e8a64224177deb3036042f0cb36fc5a892ae23 --- lams_monitoring/web/emailnotifications/courseNotifications.jsp (.../courseNotifications.jsp) (revision 2ef18e4c87e2e7929950dbeb990c6715ef16c0c2) +++ lams_monitoring/web/emailnotifications/courseNotifications.jsp (.../courseNotifications.jsp) (revision d5e8a64224177deb3036042f0cb36fc5a892ae23) @@ -14,9 +14,9 @@ <fmt:message key="${title}"/> - - - + + + @@ -78,21 +76,23 @@ dateFormat: 'dd/mm/yy', minDate: 1 }); - + + debugger; //initialize accordion $( "#accordion" ).accordion({ create: function(event, ui) { // accordion probably sets its height based on empty grid // once it is loaded, it needs to be adjusted + debugger; $('div.ui-accordion-content').css('height', '100%'); }, - change: function(event, ui) { + activate: function(event, ui) { if ($('#accordion').accordion('option', 'active') == 0) { $("#emailButton").attr('value', ''); } else { $("#emailButton").attr('value', ''); } - } + } }); jQuery("#lessonsTable").jqGrid({ @@ -122,6 +122,7 @@ $('#emailButton').click(function() { + debugger; var isInstantEmailing = ($('#accordion').accordion('option', 'active') == 0); var ids = jQuery("#list3").getGridParam('selarrrow'); var params = ""; @@ -218,20 +219,19 @@ -
-
-

+ +

?method=emailUsers" method="post" id="emailNotificationsForm" >





- -

- " /> + +
+ " />
@@ -248,9 +248,9 @@
-

+

-

+ " onclick="getUsers();" /> + " onclick="getUsers();" />
<%@ include file="additionalSettings.jsp"%>
-
-
+