Development Sync #27

Merged
andydixon merged 3 commits from development into master 2024-10-09 21:56:19 +02:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit c848926cd9 - Show all commits
+2
View File
@@ -73,6 +73,7 @@ body {
.blueButton:hover {
background: linear-gradient(to bottom, #415989 5%, #2e466e 100%);
background-color: #415989;
color: #ffffff;
}
.greenButton {
@@ -94,6 +95,7 @@ body {
.greenButton:hover {
background: linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
background-color: #72b352;
color: #ffffff;
}
.greenButton:active {
+3 -3
View File
@@ -119,7 +119,7 @@ $(document).ready(function () {
} else {
showMessage("New page Created", "success");
$('#frameContainer').contents().get(0).location.href = response.url;
$("#newPageForm").dialog("close"); // Close the modal on success
$('.ui-dialog-content').dialog('close');
}
},
error: function () {
@@ -169,7 +169,7 @@ $(document).ready(function () {
// Add click event to list items to redirect
$("#fileList li").click(function () {
$('#frameContainer').contents().get(0).location.href = $(this).data("url"); // Redirect to the clicked file's URL
$("#fileListDialog").dialog("close"); // Close the modal
$('.ui-dialog-content').dialog('close');
});
},
error: function () {
@@ -186,7 +186,7 @@ $(document).ready(function () {
width: 500,
buttons: {
Close: function () {
$(this).dialog("close");
$('.ui-dialog-content').dialog('close');
}
}
});