W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2008

perl/modules/W3C/LinkChecker/bin checklink,4.108,4.109

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 04 May 2008 16:59:24 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JshYa-0004Ip-QF@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv16502

Modified Files:
	checklink 
Log Message:
Don't do javascript progress callbacks in command line HTML mode.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.108
retrieving revision 4.109
diff -u -d -r4.108 -r4.109
--- checklink	4 May 2008 16:57:33 -0000	4.108
+++ checklink	4 May 2008 16:59:22 -0000	4.109
@@ -955,7 +955,7 @@
       print ' ' if ($Opts{HTML} && !$Opts{Command_Line});
     } else {
       printf('<script type="text/javascript">show_progress("Checking link %s", "status_progress%s");</script>' , &encode($u), $result_anchor)
-        if ($Opts{HTML} && !$Opts{Summary_Only});
+        if (!$Opts{Command_Line} && $Opts{HTML} && !$Opts{Summary_Only});
       &hprintf("Checking link %s\n", $u);
     }
 
Received on Sunday, 4 May 2008 16:59:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:28 UTC