From 875e9832b2a3b6c3cd284fb08e0cd69f07136588 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 6 Mar 2023 20:01:04 -0500 Subject: [PATCH] Revert "Update jot-header.tpl" This reverts commit e4914253edbaaec079cc61aa9251050d9d9a63cc. --- view/tpl/jot-header.tpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 3ffa4a120..69eaf02c6 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -768,16 +768,13 @@ let postSaveTimer = null; {{* start new setEmbedFiles-1 *}} function setEmbedFiles1(result, address) { alert(JSON.stringify(result)); -{{* $.post(`wall_attach/${address}`, JSON.stringify(result)) + $.post(`wall_attach/${address}`, result) .done(function(data) { console.log("Data received:", data); }) .fail(function(error) { console.error("Error:", error); }); - - - *}} {{* $.ajax({ type: 'post', url: `wall_attach/${address}`,