From 126978314f1c5cb75a6e70183e73272ad3e9adad Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Thu, 15 Feb 2007 03:42:08 +0000 Subject: [PATCH] fix: Rich Editor - Add Asset Link doesn't work with images. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Operation/FormHelpers.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 233c24bef..5f1d682b9 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,7 @@ DateTime. - fix: SQL Report: Paginate After - fix: Incomplete asset cause manage Trash to fail + - fix: Rich Text Editor - Add Asset Tree Link doesn't work with images 7.3.9 - fix: SQL Form and big table imports diff --git a/lib/WebGUI/Operation/FormHelpers.pm b/lib/WebGUI/Operation/FormHelpers.pm index 28fe01a00..58505c601 100644 --- a/lib/WebGUI/Operation/FormHelpers.pm +++ b/lib/WebGUI/Operation/FormHelpers.pm @@ -179,7 +179,7 @@ function createLink() { var link = ''; + link += '>' + window.opener.tinyMCE.selectedInstance.selection.getSelectedHTML() + ''; window.opener.tinyMCE.execCommand("mceInsertContent",false,link); window.close(); }