From 7316e74b65386b06058b01c9a964667fa6a7e018 Mon Sep 17 00:00:00 2001 From: Ian Date: Fri, 31 May 2013 10:04:08 +0300 Subject: [PATCH] =?UTF-8?q?upport=20master=20=E2=86=92=202.0=20in=202k11/s?= =?UTF-8?q?erendipity=5Feditor.js.tpl=20(fixed=20typos)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not forget to remove engl short (not) notations in js file doc notes, to help github prettifier --- templates/2k11/admin/serendipity_editor.js.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/2k11/admin/serendipity_editor.js.tpl b/templates/2k11/admin/serendipity_editor.js.tpl index e17e2161..fde24404 100644 --- a/templates/2k11/admin/serendipity_editor.js.tpl +++ b/templates/2k11/admin/serendipity_editor.js.tpl @@ -304,7 +304,7 @@ function serendipity_imageSelector_addToBody (str, textarea) oEditor = xinha_editors[textarea]; } else { // this is the last chance to retrieve the instance of the editor ! - // editor has not been registered by the name of it's textarea + // editor has not been registered by the name of its textarea // so we must iterate over editors to find the good one for (var editorName in xinha_editors) { if ('serendipity[' + textarea + ']' == xinha_editors[editorName]._textArea.name) { @@ -317,7 +317,7 @@ function serendipity_imageSelector_addToBody (str, textarea) // the actual insert for the xinha editor if (oEditor) { if (oEditor._editMode != 'textmode') { - // if here the editior is in WYSIWYG mode so use the insert html function + // if here the editor is in WYSIWYG mode so use the insert html function oEditor.insertHTML(str); } else { // if here just insert the text to the textarea ( named with the value of textarea variable )