From fa3c582a2bd91433399a5b275616052028a5a011 Mon Sep 17 00:00:00 2001 From: polo Date: Thu, 18 Sep 2025 00:27:20 +0200 Subject: =?UTF-8?q?news=20positionn=C3=A9es=20en=20fonction=20de=20leur=20?= =?UTF-8?q?date,=20suppression=20de=20leurs=20boutons=20position,=20am?= =?UTF-8?q?=C3=A9liorations=20routage=20page=20article,=20bouton=20share?= =?UTF-8?q?=20en=20bas=20pour=20les=20news?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/tinymce.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'public/js') diff --git a/public/js/tinymce.js b/public/js/tinymce.js index d6b0bf8..81ba8ea 100644 --- a/public/js/tinymce.js +++ b/public/js/tinymce.js @@ -332,7 +332,11 @@ class Editor content = this.tiny_instance.getContent(); } - let fetch_params = {id: this.id, content: content}; + let fetch_params = { + id: this.id, + content: content, + from: new URLSearchParams(window.location.search).get('from') // le "$_GET" de javascript + }; if(this.placement){ fetch_params['placement'] = this.placement; } -- cgit v1.2.3