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

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit %>
  3. <!-- #include file="directives.inc" -->
  4. <%
  5. ' This script will update the cached node list when a new node
  6. ' is added via the add wizard. It is a workaround for IE3's
  7. ' inability to invoke a JavaScript method in another window's
  8. ' frame. So we will execute this script in the connect window
  9. ' rather than doing the work in the add wizard window.
  10. %>
  11. <SCRIPT LANGUAGE="JavaScript">
  12. sel = <%= Request.QueryString("sel") %>
  13. top.title.nodeList[sel].selected = false;
  14. if (!top.title.nodeList[sel].isCached){
  15. top.title.nodeList[sel].cache(sel);
  16. }
  17. else{
  18. top.title.nodeList[sel].insertNode( "<%= Request.QueryString("nodeId") %>",
  19. "<%= Request.QueryString("nodeName") %>",
  20. sel,
  21. "<%= Request.QueryString("nodeType") %>",
  22. "<%= Request.QueryString("siteType") %>",
  23. <%= Request.QueryString("isApp") %>);
  24. }
  25. </SCRIPT>
  26. <HTML>
  27. </HTML>