diff options
author | polo <ordipolo@gmx.fr> | 2025-09-18 00:27:20 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-09-18 00:27:20 +0200 |
commit | fa3c582a2bd91433399a5b275616052028a5a011 (patch) | |
tree | 64a5c2c0eb54dc033fb5ed78ed69745bd492aa05 /public/js/tinymce.js | |
parent | 027af942de75f7c5bc519fabfa5fa11de9bc89ea (diff) | |
download | cms-fa3c582a2bd91433399a5b275616052028a5a011.zip |
news positionnées en fonction de leur date, suppression de leurs boutons position, améliorations routage page article, bouton share en bas pour les news
Diffstat (limited to 'public/js/tinymce.js')
-rw-r--r-- | public/js/tinymce.js | 6 |
1 files changed, 5 insertions, 1 deletions
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 | |||
332 | content = this.tiny_instance.getContent(); | 332 | content = this.tiny_instance.getContent(); |
333 | } | 333 | } |
334 | 334 | ||
335 | let fetch_params = {id: this.id, content: content}; | 335 | let fetch_params = { |
336 | id: this.id, | ||
337 | content: content, | ||
338 | from: new URLSearchParams(window.location.search).get('from') // le "$_GET" de javascript | ||
339 | }; | ||
336 | if(this.placement){ | 340 | if(this.placement){ |
337 | fetch_params['placement'] = this.placement; | 341 | fetch_params['placement'] = this.placement; |
338 | } | 342 | } |