diff options
author | alecpl <alec@alec.pl> | 2009-12-15 08:48:45 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-12-15 08:48:45 +0000 |
commit | 58fb6502e3550e59afa8799d36dfce61a18f8b1b (patch) | |
tree | 821b5ac61675cada8977d956262ffb5e9b90a2fb /program/js/tiny_mce/themes/advanced | |
parent | 463a03112260ecf39818eac09905f41d8e84ced7 (diff) |
- Updated TinyMCE to 3.2.7
Diffstat (limited to 'program/js/tiny_mce/themes/advanced')
-rw-r--r-- | program/js/tiny_mce/themes/advanced/color_picker.htm | 2 | ||||
-rw-r--r-- | program/js/tiny_mce/themes/advanced/js/link.js | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/program/js/tiny_mce/themes/advanced/color_picker.htm b/program/js/tiny_mce/themes/advanced/color_picker.htm index 90eb4c2ee..cbd6b88dc 100644 --- a/program/js/tiny_mce/themes/advanced/color_picker.htm +++ b/program/js/tiny_mce/themes/advanced/color_picker.htm @@ -21,7 +21,7 @@ <fieldset>
<legend>{#advanced_dlg.colorpicker_picker_title}</legend>
<div id="picker">
- <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" alt=" " />
+ <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" alt="" />
<div id="light">
<!-- Will be filled with divs -->
diff --git a/program/js/tiny_mce/themes/advanced/js/link.js b/program/js/tiny_mce/themes/advanced/js/link.js index 21aae6cbf..f67a5bc82 100644 --- a/program/js/tiny_mce/themes/advanced/js/link.js +++ b/program/js/tiny_mce/themes/advanced/js/link.js @@ -63,8 +63,8 @@ var LinkDialog = { ed.dom.setAttribs(e, {
href : f.href.value,
title : f.linktitle.value,
- target : f.target_list ? f.target_list.options[f.target_list.selectedIndex].value : null,
- 'class' : f.class_list ? f.class_list.options[f.class_list.selectedIndex].value : null
+ target : f.target_list ? getSelectValue(f, "target_list") : null,
+ 'class' : f.class_list ? getSelectValue(f, "class_list") : null
});
}
});
@@ -72,8 +72,8 @@ var LinkDialog = { ed.dom.setAttribs(e, {
href : f.href.value,
title : f.linktitle.value,
- target : f.target_list ? f.target_list.options[f.target_list.selectedIndex].value : null,
- 'class' : f.class_list ? f.class_list.options[f.class_list.selectedIndex].value : null
+ target : f.target_list ? getSelectValue(f, "target_list") : null,
+ 'class' : f.class_list ? getSelectValue(f, "class_list") : null
});
}
|