From d94e1ded6b89bf39cec37b3cb72c0c470a9e3f55 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Thu, 21 Aug 2025 00:46:44 -0400 Subject: [PATCH] Fix: Allow apostrophe in swal text --- emhttp/plugins/dynamix/ShareEdit.page | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emhttp/plugins/dynamix/ShareEdit.page b/emhttp/plugins/dynamix/ShareEdit.page index 4da854390..7bbd69252 100644 --- a/emhttp/plugins/dynamix/ShareEdit.page +++ b/emhttp/plugins/dynamix/ShareEdit.page @@ -985,6 +985,7 @@ function prepareEdit() { title: "_(Primary Storage)_", text: "_(Selected Pool is not available and cannot be used.)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -995,6 +996,7 @@ function prepareEdit() { title: "_(Secondary Storage)_", text: "_(Selected Pool is not available and cannot be used.)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1008,6 +1010,7 @@ function prepareEdit() { title: "_(Missing share name)_", text: "_(Enter a name for the share)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1019,6 +1022,7 @@ function prepareEdit() { title: "_(Invalid share name)_", text: "_(Share name must be 40 characters or less)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1033,6 +1037,7 @@ function prepareEdit() { title: "_(Invalid share name)_", text: "_(Share name must begin with a letter)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1043,6 +1048,7 @@ function prepareEdit() { title: "_(Invalid share name)_", text: "_(Share name may only contain letters, digits, '.', '_', or '-')_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1053,6 +1059,7 @@ function prepareEdit() { title: "_(Invalid share name)_", text: "_(Share name cannot end with '.')_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1064,6 +1071,7 @@ function prepareEdit() { title: "_(Invalid share name)_", text: "_(Do not use reserved names)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false; @@ -1075,6 +1083,7 @@ function prepareEdit() { title: "_(Invalid share name)_", text: "_(Do not use pool names)_", type: 'error', + html: true, confirmButtonText: "_(Ok)_" }); return false;