Index: openacs-4/packages/imsld/tcl/imsld-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/tcl/imsld-procs.tcl,v diff -u -r1.52 -r1.53 --- openacs-4/packages/imsld/tcl/imsld-procs.tcl 6 Apr 2006 14:25:02 -0000 1.52 +++ openacs-4/packages/imsld/tcl/imsld-procs.tcl 18 Apr 2006 16:20:58 -0000 1.53 @@ -3123,7 +3123,6 @@ set a_node [$dom_doc createElement a] $a_node setAttribute href "finish-component-element-${imsld_id}-${play_id}-${act_id}-${role_part_id}-${activity_id}-learning.imsld" - $a_node setAttribute target "content" set text [$dom_doc createTextNode "(finish)"] $a_node appendChild $text $activity_node appendChild $a_node @@ -3157,7 +3156,6 @@ set a_node [$dom_doc createElement a] $a_node setAttribute href "finish-component-element-${imsld_id}-${play_id}-${act_id}-${role_part_id}-${activity_id}-support.imsld" - $a_node setAttribute target "content" set text [$dom_doc createTextNode "(finish)"] $a_node appendChild $text $activity_node appendChild $a_node @@ -3249,7 +3247,6 @@ set a_node [$dom_doc createElement a] $a_node setAttribute href "finish-component-element-${imsld_id}-${play_id}-${act_id}-${role_part_id}-${activity_id}-learning.imsld" - $a_node setAttribute target "content" set text [$dom_doc createTextNode "(finish)"] $a_node appendChild $text $activity_node appendChild $a_node @@ -3278,7 +3275,6 @@ set a_node [$dom_doc createElement a] $a_node setAttribute href "finish-component-element-${imsld_id}-${play_id}-${act_id}-${role_part_id}-${activity_id}-support.imsld" - $a_node setAttribute target "content" set text [$dom_doc createTextNode "(finish)"] $a_node appendChild $text $activity_node appendChild $a_node Index: openacs-4/packages/imsld/www/imsld-tree.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/www/imsld-tree.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/imsld/www/imsld-tree.adp 4 Apr 2006 10:27:53 -0000 1.5 +++ openacs-4/packages/imsld/www/imsld-tree.adp 18 Apr 2006 16:20:58 -0000 1.6 @@ -29,8 +29,10 @@ var a = as[i]; for( var x = 0; x < a.attributes.length; x++ ) { if( a.attributes[x].nodeName.toLowerCase() == 'href' ) { - var enviromenturl = a.attributes[x].nodeValue.replace(/activity-frame/, "environment-frame"); - a.setAttribute('onClick',"parent.environment.location='" + enviromenturl + "'"); + if ( a.attributes[x].nodeValue.match(/activity-frame/) ) { + var enviromenturl = a.attributes[x].nodeValue.replace(/activity-frame/, "environment-frame"); + a.setAttribute('onClick',"parent.environment.location='" + enviromenturl + "'"); + } } } }