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

Modified Files:
        insertinline_link.html 
Log Message:
CMSC-681 Asset Maintenance


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-681


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.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- insertinline_link.html      4 Dec 2008 11:22:09 -0000       1.4
+++ insertinline_link.html      26 Dec 2008 09:08:20 -0000      1.5
@@ -34,22 +34,14 @@
 
   var param = window.dialogArguments;
   
- 
-  
   var target_select = document.getElementById("f_target");
   var use_target = true;
   if (param) { 
     if ( typeof param["f_usetarget"] != "undefined" ) {
       use_target = param["f_usetarget"];
     }
-    if ( typeof param["f_href"] != "undefined" ) {
       document.getElementById("f_href").value = param["f_href"];
-      if(typeof param["f_linkName"] != "undefined"){
-        document.getElementById("f_linkName").value = param["f_linkName"];
-      }
-      else{
         document.getElementById("f_linkName").value = param["f_linkName"];
-      }
       document.getElementById("f_title").value = param["f_title"];
       document.getElementById("f_destination").value = param["f_destination"];
       comboSelectValue(target_select, param["f_target"]);
@@ -61,7 +53,6 @@
         opt.selected = true;
       }
   }
-  }
   if (! use_target) {
     document.getElementById("f_target_label").style.visibility = "hidden";
     document.getElementById("f_target").style.visibility = "hidden";
@@ -92,7 +83,6 @@
          el.focus();
          return false;
          }
-            
       else{      
         var el = document.getElementById("f_title");
         if (!el.value) {
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to