aboutsummaryrefslogtreecommitdiff
path: root/public/js/tinymce.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/tinymce.js')
-rw-r--r--public/js/tinymce.js6
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 }