Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
945 B

<%@ LANGUAGE = VBScript %>
<% Option Explicit %>
<!-- #include file="directives.inc" -->
<%
' This script will update the cached node list when a new node
' is added via the add wizard. It is a workaround for IE3's
' inability to invoke a JavaScript method in another window's
' frame. So we will execute this script in the connect window
' rather than doing the work in the add wizard window.
%>
<SCRIPT LANGUAGE="JavaScript">
sel = <%= Request.QueryString("sel") %>
top.title.nodeList[sel].selected = false;
if (!top.title.nodeList[sel].isCached){
top.title.nodeList[sel].cache(sel);
}
else{
top.title.nodeList[sel].insertNode( "<%= Request.QueryString("nodeId") %>",
"<%= Request.QueryString("nodeName") %>",
sel,
"<%= Request.QueryString("nodeType") %>",
"<%= Request.QueryString("siteType") %>",
<%= Request.QueryString("isApp") %>);
}
</SCRIPT>
<HTML>
</HTML>