Fix broken 'select username and turn into link' behavior in RTE.
Patch by afuna.
diffs (19 lines):
diff -r 07180fbb157d -r 32c4e549d7a2
htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js
--- a/htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js Sun Dec 13
10:04:06 2009 +0000
+++ b/htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js Sun Dec 13
10:06:54 2009 +0000
@@ -11,6 +11,7 @@ LJUserCommand.Execute=function() {
LJUserCommand.Execute=function() {
var username;
var selection = '';
+ var UserTagCache = window.parent.UserTagCache;
if (FCK.EditorWindow.getSelection) {
selection = FCK.EditorWindow.getSelection();
@@ -91,7 +92,6 @@ LJUserCommand.Execute=function() {
do_insert( username );
} else {
var DOM = window.parent.DOM;
- var UserTagCache = window.parent.UserTagCache;
var _textDiv = window.parent._textDiv;
var userPopup = new window.parent.LJ_IPPU(
window.parent.FCKLang.UserPrompt );
userPopup.hide = function() {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog