diff options
Diffstat (limited to 'public/js/tinymce.js')
-rw-r--r-- | public/js/tinymce.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/tinymce.js b/public/js/tinymce.js index cb1938a..1e40f51 100644 --- a/public/js/tinymce.js +++ b/public/js/tinymce.js | |||
@@ -250,7 +250,7 @@ function submitArticle(id, page = '', clone = null) { | |||
250 | submit_btn.querySelector('button').setAttribute('onclick', "submitArticle('" + data.article_id + "')"); | 250 | submit_btn.querySelector('button').setAttribute('onclick', "submitArticle('" + data.article_id + "')"); |
251 | 251 | ||
252 | var next_div = parent.nextElementSibling.nextElementSibling; | 252 | var next_div = parent.nextElementSibling.nextElementSibling; |
253 | parent.parentNode.replaceChild(clone, parent); | 253 | parent.parentNode.replaceChild(clone.cloneNode(true), parent); // clone du squelette pour le garder intact |
254 | next_div.appendChild(parent); | 254 | next_div.appendChild(parent); |
255 | } | 255 | } |
256 | else{ | 256 | else{ |