Update of
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups
In directory james.mmbase.org:/tmp/cvs-serv7244/popups
Modified Files:
Tag: b1_6
insertinline_link.html
Log Message:
CMSC-1321 - Assets: URL objects should not be created when linking to pages or
elements in the richtexteditor
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups
See also: http://www.mmbase.org/jira/browse/CMSC-1321
Index: insertinline_link.html
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups/insertinline_link.html,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -u -b -r1.14.2.2 -r1.14.2.3
--- insertinline_link.html 6 Mar 2009 07:14:55 -0000 1.14.2.2
+++ insertinline_link.html 11 Mar 2009 03:52:23 -0000 1.14.2.3
@@ -161,9 +161,12 @@
if (url != undefined && url.length != 0 ) {
document.getElementById("f_href").value = url;
}
- if (title != undefined && title.length != 0 ) {
+ sourceTitle = document.getElementById("f_title").value;
+ if(sourceTitle == undefined || sourceTitle.length == 0 ){
+ if(title != undefined && title.length != 0 ) {
document.getElementById("f_title").value = title;
}
+ }
}
function selectPage(element_id, url) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs