diff --git a/Course.php b/Course.php index e7c4ccb..238d8a6 100644 --- a/Course.php +++ b/Course.php @@ -688,29 +688,30 @@ include 'Header.php'; function deleteGroup(id) { - try - { - $('
\n\ - \n\ -
').dialog({ - modal: true, - title:'Delete this group?', - close: function () { - var closeBtn = $('.ui-dialog-titlebar-close'); - closeBtn.html(''); - }, - buttons: { - 'Yes': function () { - $('#frm').submit(); - $(this).dialog('close'); - }, - 'No': function () { - $(this).dialog('close'); - } - + try { + $('
\ + \ + \ +
').dialog({ + modal: true, + title:'Delete this group?', + close: function () { + var closeBtn = $('.ui-dialog-titlebar-close'); + closeBtn.html(''); + }, + buttons: { + 'Yes': function () { + $('#frm').submit(); + $(this).dialog('close'); + }, + 'No': function () { + $(this).dialog('close'); + } + } + }); + } catch(e) { + alert(e); } - }); - } catch(e){ alert(e); } }