diff --git a/Course.php b/Course.php
index 9eb5f4a..e015043 100644
--- a/Course.php
+++ b/Course.php
@@ -584,7 +584,11 @@ where course_group_members_table.Course_Group_id=$id");
Enter Student ID to invite \n\
').dialog({
modal: true,
- title:'Invite Students to Group',
+ title:'Invite students to group',
+ close: function () {
+ var closeBtn = $('.ui-dialog-titlebar-close');
+ closeBtn.html('');
+ },
buttons: {
'Invite': function () {
$('#frm').submit();
@@ -613,7 +617,11 @@ where course_group_members_table.Course_Group_id=$id");
\n\
').dialog({
modal: true,
- title:'Respond to Group Invite',
+ title:'Respond to group invitation',
+ close: function () {
+ var closeBtn = $('.ui-dialog-titlebar-close');
+ closeBtn.html('');
+ },
buttons: {
'Confirm': function () {
$('#frm').submit();
@@ -651,6 +659,10 @@ where course_group_members_table.Course_Group_id=$id");
').dialog({
modal: true,
title:'Kick out '+student_id+'?',
+ close: function () {
+ var closeBtn = $('.ui-dialog-titlebar-close');
+ closeBtn.html('');
+ },
buttons: {
'Yes': function () {
$('#frm').submit();
@@ -676,6 +688,10 @@ where course_group_members_table.Course_Group_id=$id");
').dialog({
modal: true,
title:'Delete this group?',
+ close: function () {
+ var closeBtn = $('.ui-dialog-titlebar-close');
+ closeBtn.html('');
+ },
buttons: {
'Yes': function () {
$('#frm').submit();
diff --git a/Courses.php b/Courses.php
index d72c3cf..5efc707 100644
--- a/Courses.php
+++ b/Courses.php
@@ -44,6 +44,10 @@ include 'Header.php';
`).dialog({
modal: true,
title:'Extend deadline',
+ close: function () {
+ var closeBtn = $('.ui-dialog-titlebar-close');
+ closeBtn.html('');
+ },
buttons: {
'Submit': function () {
$('#frm').submit();
diff --git a/Submissions.php b/Submissions.php
index 4410a2d..45b6457 100644
--- a/Submissions.php
+++ b/Submissions.php
@@ -440,10 +440,14 @@ where course_group_members_table.Course_Group_id=$id");
`).dialog({
- modal: true,
- title: 'Mark submission',
- buttons: {
- 'Submit': function() {
+ modal: true,
+ title: 'Mark submission',
+ close: function () {
+ var closeBtn = $('.ui-dialog-titlebar-close');
+ closeBtn.html('');
+ },
+ buttons: {
+ 'Submit': function() {
$('#submit-form').submit();
$(this).dialog('close');
},