From 0768af119f116cdfabcf9612b8a0a220d711bec2 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 5 Dec 2008 18:46:43 +0000 Subject: [PATCH] fix quoting problems in webgui tinymce image plug-in --- docs/changelog/7.x.x.txt | 1 + .../tinymce-webgui/plugins/wginsertimage/js/insertimage.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 40ed4f952..52d6d2522 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,6 +3,7 @@ - fixed #8774: Forum Rich Edit no longer supports indent/outdent - fixed #4173: fieldnames in profilefields can contain spaces - fixed #8811: Bug Tracker: Formatting is bad for the resolution form. + - fixed #9235: Image Bug in rich text editor. 7.6.5 - security: A problem was discovered and fixed in which users could email executable attachments to a collaboration system and then when viewed online, could execute them. diff --git a/www/extras/tinymce-webgui/plugins/wginsertimage/js/insertimage.js b/www/extras/tinymce-webgui/plugins/wginsertimage/js/insertimage.js index dea6e4971..86a4fdef3 100644 --- a/www/extras/tinymce-webgui/plugins/wginsertimage/js/insertimage.js +++ b/www/extras/tinymce-webgui/plugins/wginsertimage/js/insertimage.js @@ -43,10 +43,10 @@ var WGInsertImageDialog = { img += ' hspace="' + parseInt(form.imagehspace.value) + '"'; } if (form.imagevspace.value != "") { - img += ' vspace="' + parseInt(form.imagevspace.value) + "'"; + img += ' vspace="' + parseInt(form.imagevspace.value) + '"'; } if (form.imageborder.value != "") { - img += ' border="' + parseInt(form.imageborder.value) + "'"; + img += ' border="' + parseInt(form.imageborder.value) + '"'; } if (form.imagealign.value != "") { img += ' align="' + form.imagealign.value + '"';