From 18547d7a17bab2663fc0fb31df578e4303b694f6 Mon Sep 17 00:00:00 2001 From: Andy Dixon Date: Mon, 11 Nov 2024 19:44:38 +0000 Subject: [PATCH] (Not a proper) Fix for issue 31 --- cms/js/cms.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cms/js/cms.js b/cms/js/cms.js index 4a292c5..eed81a9 100644 --- a/cms/js/cms.js +++ b/cms/js/cms.js @@ -132,7 +132,12 @@ $(document).ready(function () { // Remove the buttons container as not to make things awks $(iframeDoc).find('.button-container').remove(); + // Remove pointer cursor, but need to find a proper way of removing the cursor inline style, so we can get rid of any unneeded inline styles + $(iframeDoc).find('.editable, .neo-dupe').css('cursor', 'default'); + + // Get page content and save it let frameContainerElement = $('#frameContainer').contents().get(0); + $.post("/cms/controller/", { action: "save", uri: frameContainerElement.location.pathname,