0 Replies Latest reply on Jun 16, 2008 12:14 PM by (Nissan_Dachs)

    CS3 Server Behavior for Update Links

      Hi,
      Here's something I noticed. The following JS code works on the desktop but won't work correctly on the server:

      for(myLinkCounter = 0; myLinkCounter < myDoc.links.length; myLinkCounter ++) {
      var myLink = myDoc.links.item(myLinkCounter);
      myLink.update();
      }

      Conversely:

      for(myLinkCounter = 0; myLinkCounter < myDoc.links.length; myLinkCounter ++) {
      var myLink = myDoc.links.firstItem();
      myLink.update();
      }

      works on the server but not the desktop. And, come to think of it, I think that was CS2 behavior. hmmm...

      -Nissan