Solve the no X problem in modal dialogue.
parent
0bcb687cb3
commit
90f8e7b835
|
@ -555,6 +555,10 @@ where course_group_members_table.Course_Group_id=$id");
|
||||||
<input type="hidden" name="url" value="<?php echo $url; ?>"> <input type="hidden" name="id" value="<?php echo $course_id; ?>"> </form>').dialog({
|
<input type="hidden" name="url" value="<?php echo $url; ?>"> <input type="hidden" name="id" value="<?php echo $course_id; ?>"> </form>').dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
title:'Create a group',
|
title:'Create a group',
|
||||||
|
close: function () {
|
||||||
|
var closeBtn = $('.ui-dialog-titlebar-close');
|
||||||
|
closeBtn.html('');
|
||||||
|
},
|
||||||
buttons: {
|
buttons: {
|
||||||
'Create': function () {
|
'Create': function () {
|
||||||
$('#frm').submit();
|
$('#frm').submit();
|
||||||
|
@ -697,6 +701,7 @@ where course_group_members_table.Course_Group_id=$id");
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,14 @@ if (mysqli_connect_errno()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.ui-dialog-titlebar-close::before {
|
||||||
|
content: "X";
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
left: 3px;
|
||||||
|
line-height: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
#footer{
|
#footer{
|
||||||
position:fixed;
|
position:fixed;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
|
|
Loading…
Reference in New Issue