diff options
Diffstat (limited to 'program/js/tiny_mce/themes')
-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
});
}
|