Author: jkoster
Date: 2009-05-20 12:05:36 +0200 (Wed, 20 May 2009)
New Revision: 35320
Modified:
CMSContainer/branches/b1_6/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups/insertinline_image.html
Log:
CMSC-1407 - Alt-text does not get updated when new image is selected; also
fixed the resizing of the window.
Modified:
CMSContainer/branches/b1_6/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups/insertinline_image.html
===================================================================
---
CMSContainer/branches/b1_6/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups/insertinline_image.html
2009-05-20 10:05:34 UTC (rev 35319)
+++
CMSContainer/branches/b1_6/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups/insertinline_image.html
2009-05-20 10:05:36 UTC (rev 35320)
@@ -7,7 +7,6 @@
<link rel="stylesheet" type="text/css" href="popup.css" />
<script type="text/javascript">
- window.resizeTo(450, 100);
HTMLArea = window.opener.HTMLArea;
function i18n(str) {
@@ -48,6 +47,7 @@
document.getElementById("f_url").focus();
+ window.resizeTo(450, 300);
}
function onOK() {
@@ -96,8 +96,7 @@
document.getElementById("f_align").disabled = false;
ratio = "";
}
- if (document.getElementById("f_alt").value == undefined
- || document.getElementById("f_alt").value.length == 0 ) {
+ if (title != undefined && title.length != 0) {
document.getElementById("f_alt").value = title;
}
var imagePosition = document.getElementById("f_align").value
@@ -250,8 +249,6 @@
</tbody>
</table>
- <p />
-
<fieldset style="float: left; margin-left: 5px;">
<legend>Layout</legend>
<div class="space"></div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs