1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-17 15:56:25 +02:00

TinyMce fixes

This commit is contained in:
CaMer0n
2012-07-07 20:46:59 +00:00
parent 7fa2971c83
commit d3c7570d4b
29 changed files with 3563 additions and 3105 deletions

View File

@@ -68,10 +68,16 @@ var LinkDialog = {
} else {
ed.dom.setAttribs(e, {
href : href,
title : f.linktitle.value,
target : f.target_list ? getSelectValue(f, "target_list") : null,
'class' : f.class_list ? getSelectValue(f, "class_list") : null
title : f.linktitle.value
});
if (f.target_list) {
ed.dom.setAttrib(e, 'target', getSelectValue(f, "target_list"));
}
if (f.class_list) {
ed.dom.setAttrib(e, 'class', getSelectValue(f, "class_list"));
}
}
// Don't move caret if selection was image