From 8fbf0f1d1d64d06507ef07b53c5b125b288341e1 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Mon, 4 Sep 2023 20:20:43 +0800 Subject: [PATCH] Courses.php: indent JavaScript code --- Courses.php | 53 ++++++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/Courses.php b/Courses.php index 3fc6121..63c28f6 100644 --- a/Courses.php +++ b/Courses.php @@ -25,11 +25,11 @@ include 'Header.php'; - - + modal: true, + title:'Extend deadline', + close: function () { + var closeBtn = $('.ui-dialog-titlebar-close'); + closeBtn.html(''); + }, + buttons: { + 'Submit': function () { + $('#frm').submit(); + $(this).dialog('close'); + }, + 'Cancel': function () { + $(this).dialog('close'); + } + } + }); + } catch(e) { + alert(e); + } + } +