1
0

Update serendipity_editor.js.tpl

Hey, never assume something is “obvious”
This commit is contained in:
Ian
2013-05-31 11:57:01 +02:00
parent ed704a4dd7
commit c980451725

View File

@ -204,7 +204,7 @@ function AddKeyword(keyword) {
s = document.getElementById('keyword_input').value; s = document.getElementById('keyword_input').value;
document.getElementById('keyword_input').value = (s != '' ? s + ';' : '') + keyword; document.getElementById('keyword_input').value = (s != '' ? s + ';' : '') + keyword;
} }
{* {* Ian: Onli, please double check this with the fixed and replaced origin functions below *}
// "Transfer" value from media db popup to textarea, including wysiwyg // "Transfer" value from media db popup to textarea, including wysiwyg
// This gets textarea="body"/"extended" and tries to insert into the textarea named serendipity[body]/serendipity[extended] // This gets textarea="body"/"extended" and tries to insert into the textarea named serendipity[body]/serendipity[extended]
function serendipity_imageSelector_addToBody (str, textarea) { function serendipity_imageSelector_addToBody (str, textarea) {