Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
chottuthejimmy authored Sep 25, 2024
2 parents 9c1169e + da988e8 commit 059b87c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "org.springframework.boot" version "3.3.3"
id "org.springframework.boot" version "3.3.4"
id "io.spring.dependency-management" version "1.1.6"
id "org.springdoc.openapi-gradle-plugin" version "1.8.0"
id "io.swagger.swaggerhub" version "1.3.2"
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/stirling/software/SPDF/SPdfApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public class SPdfApplication {
public void setServerPortStatic(String port) {
if (port.equalsIgnoreCase("auto")) {
// Use Spring Boot's automatic port assignment (server.port=0)
SPdfApplication.serverPortStatic = "0"; // This will let Spring Boot assign an available port
SPdfApplication.serverPortStatic =
"0"; // This will let Spring Boot assign an available port
} else {
SPdfApplication.serverPortStatic = port;
}
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/static/js/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ document.getElementById("submitConfigBtn").addEventListener("click", function ()
let selectedOperation = document.getElementById("operationsDropdown").value;

var pipelineName = document.getElementById("pipelineName").value;


let pipelineList = document.getElementById("pipelineList").children;
let pipelineConfig = {
name: pipelineName,
Expand Down Expand Up @@ -218,7 +220,8 @@ fetch("v1/api-docs")

document.getElementById('deletePipelineBtn').addEventListener('click', function(event) {
event.preventDefault();
let pipelineName = document.getElementById('pipelineName').value;
let pipelineName = document.getElementById('pipelineName').value;

if (confirm(deletePipelineText + pipelineName)) {
removePipelineFromUI(pipelineName);
let key = "#Pipeline-" + pipelineName;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/misc/show-javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<br><br>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12 bg-card">
<div class="col-md-6 bg-card">
<div class="tool-header">
<span class="material-symbols-rounded tool-header-icon advance">javascript</span>
<span class="tool-header-text" th:text="#{showJS.header}"></span>
Expand All @@ -30,7 +30,7 @@
<br>
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{showJS.submit}"></button>
</form>
<div class="container mt-5">
<div class="container mt-4">
<!-- Iterate over each main section in the JSON -->
<div id="script-content">
<!-- JavaScript will populate this section -->
Expand Down

0 comments on commit 059b87c

Please sign in to comment.