(Not a proper) Fix for issue 31

This commit is contained in:
Andy Dixon
2024-11-11 19:44:38 +00:00
parent 290a74cb29
commit 18547d7a17
+5
View File
@@ -132,7 +132,12 @@ $(document).ready(function () {
// Remove the buttons container as not to make things awks // Remove the buttons container as not to make things awks
$(iframeDoc).find('.button-container').remove(); $(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); let frameContainerElement = $('#frameContainer').contents().get(0);
$.post("/cms/controller/", { $.post("/cms/controller/", {
action: "save", action: "save",
uri: frameContainerElement.location.pathname, uri: frameContainerElement.location.pathname,