Update of 
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups
In directory 
james.mmbase.org:/tmp/cvs-serv6646/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/popups

Modified Files:
        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.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- insertinline_link.html      6 Mar 2009 07:14:31 -0000       1.16
+++ insertinline_link.html      11 Mar 2009 03:43:56 -0000      1.17
@@ -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

Reply via email to